Abort OP creation transaction if TC selection is aborted with cancel, #3274
This commit is contained in:
committed by
Yorik van Havre
parent
53dc025ca1
commit
c38eee06e2
@@ -197,5 +197,6 @@ def Create(name):
|
||||
'''Create(name) ... Creates and returns a Helix operation.'''
|
||||
obj = FreeCAD.ActiveDocument.addObject("Path::FeaturePython", name)
|
||||
proxy = ObjectHelix(obj)
|
||||
proxy.findAllHoles(obj)
|
||||
if obj.Proxy:
|
||||
proxy.findAllHoles(obj)
|
||||
return obj
|
||||
|
||||
Reference in New Issue
Block a user