Added delete operation functionality;

fixed adding to job for dressups.
This commit is contained in:
Markus Lampert
2017-08-25 20:12:43 -07:00
committed by wmayer
parent 3507ad9a4f
commit a2edc81400
7 changed files with 31 additions and 10 deletions

View File

@@ -152,6 +152,10 @@ class ObjectJob:
return None
def __setstate__(self, state):
for obj in FreeCAD.ActiveDocument.Objects:
if hasattr(obj, 'Proxy') and obj.Proxy == self:
self.obj = obj
break
return None
def execute(self, obj):