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-20 00:02:14 -05:00
parent 97f42a6193
commit 332bfb5052
+4
View File
@@ -1060,6 +1060,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: