Hide document when loading a ToolBit.

This commit is contained in:
Markus Lampert
2020-12-17 19:55:59 -08:00
parent 6b5a99319a
commit 7e2f088833

View File

@@ -252,7 +252,7 @@ class ToolBit(object):
p = findShape(p)
if not path and p != obj.BitShape:
obj.BitShape = p
doc = FreeCAD.open(p)
doc = FreeCAD.openDocument(p, True)
obj.ShapeName = doc.Name
docOpened = True
return (doc, docOpened)