Added name parameter to operation proxy constructor.

This commit is contained in:
Markus Lampert
2018-08-25 14:51:18 -07:00
parent a3cd80796b
commit ebe76319b8
13 changed files with 14 additions and 14 deletions

View File

@@ -122,6 +122,6 @@ class ObjectChamfer(PathEngraveBase.ObjectOp):
def Create(name):
'''Create(name) ... Creates and returns a Chamfer operation.'''
obj = FreeCAD.ActiveDocument.addObject("Path::FeaturePython", name)
proxy = ObjectChamfer(obj)
proxy = ObjectChamfer(obj, name)
return obj