Compare commits
5 Commits
fix/pull-p
...
feat/nativ
| Author | SHA1 | Date | |
|---|---|---|---|
| af7eab3a70 | |||
| 6d231e80dd | |||
| a7ef5f195b | |||
|
|
7cf5867a7a | ||
|
|
9a6d1dfbd2 |
@@ -392,8 +392,10 @@ class SiloOrigin:
|
|||||||
obj.SiloPartNumber, str(file_path), properties, comment=""
|
obj.SiloPartNumber, str(file_path), properties, comment=""
|
||||||
)
|
)
|
||||||
|
|
||||||
# Clear modified flag
|
# Clear modified flag (Modified is on Gui.Document, not App.Document)
|
||||||
doc.Modified = False
|
gui_doc = FreeCADGui.getDocument(doc.Name)
|
||||||
|
if gui_doc:
|
||||||
|
gui_doc.Modified = False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user