Fixed moving operation back into job.

This commit is contained in:
Markus Lampert
2017-08-28 13:34:28 -07:00
committed by wmayer
parent 1ef4982751
commit d6dcb27dd2

View File

@@ -985,7 +985,7 @@ class ViewProviderDressup:
'''this makes sure that the base operation is added back to the project and visible'''
FreeCADGui.ActiveDocument.getObject(arg1.Object.Base.Name).Visibility = True
job = PathUtils.findParentJob(arg1.Object)
job.addOperation(arg1.Object.Base)
job.Proxy.addOperation(arg1.Object.Base)
arg1.Object.Base = None
return True