diff --git a/src/Mod/Path/PathScripts/PathDressupAxisMap.py b/src/Mod/Path/PathScripts/PathDressupAxisMap.py index ac9f15c3c4..e5316d594b 100644 --- a/src/Mod/Path/PathScripts/PathDressupAxisMap.py +++ b/src/Mod/Path/PathScripts/PathDressupAxisMap.py @@ -167,7 +167,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.Proxy.addOperation(arg1.Object.Base) + job.Proxy.addOperation(arg1.Object.Base, arg1.Object) arg1.Object.Base = None return True diff --git a/src/Mod/Path/PathScripts/PathDressupDogbone.py b/src/Mod/Path/PathScripts/PathDressupDogbone.py index 805f587255..2901de0c51 100644 --- a/src/Mod/Path/PathScripts/PathDressupDogbone.py +++ b/src/Mod/Path/PathScripts/PathDressupDogbone.py @@ -1020,7 +1020,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.Proxy.addOperation(arg1.Object.Base) + job.Proxy.addOperation(arg1.Object.Base, arg1.Object) arg1.Object.Base = None return True diff --git a/src/Mod/Path/PathScripts/PathDressupDragknife.py b/src/Mod/Path/PathScripts/PathDressupDragknife.py index 0acd50c509..57addb2e99 100644 --- a/src/Mod/Path/PathScripts/PathDressupDragknife.py +++ b/src/Mod/Path/PathScripts/PathDressupDragknife.py @@ -457,7 +457,8 @@ class ViewProviderDressup: def onDelete(self, arg1=None, arg2=None): FreeCADGui.ActiveDocument.getObject(arg1.Object.Base.Name).Visibility = True - PathUtils.addToJob(arg1.Object.Base) + job = PathUtils.findParentJob(arg1.Object.Base) + job.Proxy.addOperation(arg1.Object.Base, arg1.Object) arg1.Object.Base = None return True diff --git a/src/Mod/Path/PathScripts/PathDressupLeadInOut.py b/src/Mod/Path/PathScripts/PathDressupLeadInOut.py index ee19eb735b..36c47d5146 100644 --- a/src/Mod/Path/PathScripts/PathDressupLeadInOut.py +++ b/src/Mod/Path/PathScripts/PathDressupLeadInOut.py @@ -320,7 +320,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(self.obj) - job.Proxy.addOperation(arg1.Object.Base) + job.Proxy.addOperation(arg1.Object.Base, arg1.Object) arg1.Object.Base = None return True diff --git a/src/Mod/Path/PathScripts/PathDressupRampEntry.py b/src/Mod/Path/PathScripts/PathDressupRampEntry.py index 5a36986808..486de72f50 100644 --- a/src/Mod/Path/PathScripts/PathDressupRampEntry.py +++ b/src/Mod/Path/PathScripts/PathDressupRampEntry.py @@ -642,7 +642,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(self.obj) - job.Proxy.addOperation(arg1.Object.Base) + job.Proxy.addOperation(arg1.Object.Base, arg1.Object) arg1.Object.Base = None return True diff --git a/src/Mod/Path/PathScripts/PathDressupTagGui.py b/src/Mod/Path/PathScripts/PathDressupTagGui.py index b8d66741fd..aaebe38ae9 100644 --- a/src/Mod/Path/PathScripts/PathDressupTagGui.py +++ b/src/Mod/Path/PathScripts/PathDressupTagGui.py @@ -394,7 +394,7 @@ class PathDressupTagViewProvider: if self.obj.Base.ViewObject: self.obj.Base.ViewObject.Visibility = True job = PathUtils.findParentJob(self.obj) - job.Proxy.addOperation(arg1.Object.Base) + job.Proxy.addOperation(arg1.Object.Base, arg1.Object) arg1.Object.Base = None # if self.debugDisplay(): # self.vobj.Debug.removeObjectsFromDocument()