fix: use FreeCADGui.Document.Modified instead of App.Document.IsModified() #16

Merged
forbes merged 2 commits from fix/pull-is-modified-bug into main 2026-02-10 16:41:24 +00:00

2 Commits

Author SHA1 Message Date
de80e392f5 Merge branch 'main' into fix/pull-is-modified-bug 2026-02-10 16:41:15 +00:00
6c9789fdf3 fix: use FreeCADGui.Document.Modified instead of App.Document.IsModified()
App.Document has no IsModified() method, causing Silo_Pull to crash with
AttributeError. The correct API is to get the Gui document and check its
Modified property, consistent with the pattern used elsewhere in this file
(lines 891, 913).
2026-02-10 10:39:13 -06:00