mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-24 10:56:51 -06:00
A colour or freeze set in the host on an xref's layers (xref|layer) was lost on save: the saved view dropped every xref-dependent symbol, layers included, and the DWG save goes through the same DXF tags. The reader already keeps such layers when the xref loads. The xref's layers are now written as xref-dependent LAYER records (DXF Reference, LAYER group 70: 16 externally dependent, 32 resolved), as AutoCAD does with VISRETAIN = 1, with the xref linetypes they use (same flags): without them a DWG falls back to Continuous. Co-authored-by: Brandon Thomas <echelon@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>