Fixes bug #4008: removes phantom path cause

Job object was base of transformations, rather than Job base(clone).
This commit is contained in:
Russell Johnson
2019-06-22 14:34:51 +02:00
committed by wmayer
parent f2f4b44792
commit 4351058504
+4
View File
@@ -1019,6 +1019,10 @@ class TaskPanel:
Draft.move(sel.Object, by)
def updateSelection(self):
# Remove Job object if present in Selection: source of phantom paths
if self.obj in FreeCADGui.Selection.getSelection():
FreeCADGui.Selection.removeSelection(self.obj)
sel = FreeCADGui.Selection.getSelectionEx()
if len(sel) == 1 and len(sel[0].SubObjects) == 1: