Merge pull request #4417 from Schildkroet/adaptive_improve

[0.19][PATH] Added onDocRestore method for adaptive op
This commit is contained in:
sliptonic
2021-02-10 10:08:38 -06:00
committed by GitHub

View File

@@ -600,6 +600,10 @@ class PathAdaptive(PathOp.ObjectOp):
See documentation of execute() for a list of base functionality provided.
Should be overwritten by subclasses.'''
Execute(self,obj)
def opOnDocumentRestored(self, obj):
if not hasattr(obj, 'HelixConeAngle'):
obj.addProperty("App::PropertyAngle", "HelixConeAngle", "Adaptive", "Helix cone angle (degrees)")