Skip to content

Commit

Permalink
encode: also disable LAYER.material
Browse files Browse the repository at this point in the history
  • Loading branch information
rurban committed Aug 16, 2024
1 parent e61fdb5 commit 27118c4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/dwg.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3762,6 +3762,12 @@ DWG_TABLE (LAYER)
FIELD_HANDLE (plotstyle, 5, 0);
}
SINCE (R_2007a) {
ENCODER {
#ifndef DEBUG_CLASSES
_obj->material->absolute_ref = 0;
_obj->material->handleref.value = 0;
#endif
}
FIELD_HANDLE (material, 5, 0);
}
SINCE (R_13b1) {
Expand All @@ -3787,10 +3793,7 @@ DWG_TABLE (LAYER)
FIELD_HANDLE (plotstyle, 5, 390);
}
SINCE (R_2007a) {
DXF { FIELD_HANDLE (material, 5, 0); } // yet unstable class
else {
FIELD_HANDLE (material, 5, 347);
}
FIELD_HANDLE (material, 5, 347);
}
}
SINCE (R_2013b) {
Expand Down

0 comments on commit 27118c4

Please sign in to comment.