Files
cadcraft/crates
ffishman cef9ee4b10 fix(dwg): read kept objects as the file's version on every save, not just the first
The bridge took the version of the kept groups from $ACADVER, but SAVEAS writes
the saved version there and the kept groups stay as they were read. After a 2018
drawing was saved as a 2004 DWG, the next save read its mental ray render
settings as 2004 (class version 2, which the ODA File Converter rejects) and a
2004 field lost its cached value. Foreign now records the $ACADVER of the file
the kept data was read from (Foreign::version), and the DWG save passes that.

The new declare_version test also moves out of the doc comment it was pasted
into. Both reported by austin62jake on #2471.
2026-10-30 09:42:40 -03:00
..