-
-
Notifications
You must be signed in to change notification settings - Fork 166
Labels
bugSomething isn't workingSomething isn't working
Description
We read a complex DWG with several colors.
It worked "quite well" before. But now it seems all colors are ByBlock.
ReadEnColol has been changed recently:
old: color = new Color((short)(size & 0b111111111111));
new: color = new Color((byte)(size & 0b111111111111));
Rolling back to the old code seems to fix the problem.
BTW: These lines cannot be correct: A true color using the RGB value cannot be created this way:
//Next value is a BS containing the RGB value(last 24 bits).
color = new Color((byte)this.ReadBitLong());
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working