Path: fix proxy error

This commit is contained in:
sliptonic
2019-06-19 10:00:48 -05:00
parent 2ed1f19b42
commit fbb138653a

View File

@@ -803,5 +803,5 @@ def Create(name, obj=None):
'''Create(name) ... Creates and returns a Pocket operation.'''
if obj is None:
obj = FreeCAD.ActiveDocument.addObject('Path::FeaturePython', name)
obj.proxy = ObjectPocket(obj, name)
obj.Proxy = ObjectPocket(obj, name)
return obj