gui: do not toggle Element visibility on restoring
This commit is contained in:
parent
dda56db7a5
commit
79614974f6
3
gui.py
3
gui.py
|
@ -37,6 +37,9 @@ class SelectionObserver:
|
|||
FreeCADGui.Selection.updateSelection(vis,obj,subname)
|
||||
|
||||
def setElementVisible(self,docname,objname,subname,vis,presel=False):
|
||||
if FreeCAD.isRestoring():
|
||||
self.resetElementVisible()
|
||||
return
|
||||
if not AsmCmdManager.AutoElementVis:
|
||||
self.elements.clear()
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user