dotoritos-kim / dxf-json

perfect dxf parser
GNU General Public License v3.0
56 stars 3 forks source link

color not added to layer (when colorIndex is given) #10

Open CorgiMan opened 6 months ago

CorgiMan commented 6 months ago

In the LAYER parser, when colorIndex is given, the color itself is not added https://github.com/dotoritos-kim/dxf-json/blob/40ac5994a15529eda2ba3fe9bad53e7a0e7511ea/src/parser/tables/layer/parser.ts#L37

For entities this does happen correctly https://github.com/dotoritos-kim/dxf-json/blob/40ac5994a15529eda2ba3fe9bad53e7a0e7511ea/src/parser/entities/shared.ts#L101