assembly: add selection after make assembly

This commit is contained in:
Zheng, Lei 2019-06-30 17:32:31 +08:00
parent dbc64ebfc4
commit 75632fee41
2 changed files with 5 additions and 1 deletions

View File

@ -3713,6 +3713,10 @@ class Assembly(AsmGroup):
obj.purgeTouched()
if undo:
FreeCAD.closeActiveTransaction()
FreeCADGui.Selection.pushSelStack()
FreeCADGui.Selection.clearSelection()
FreeCADGui.Selection.addSelection(obj)
FreeCADGui.Selection.pushSelStack()
except Exception:
if undo:
FreeCAD.closeActiveTransaction(True)

@ -1 +1 @@
Subproject commit 30f34766bbdf129536e682f1dcb302f5ac06c81c
Subproject commit c88d11fb9c7294e4d247725ac83904704a2c4613