Merge pull request #4417 from Schildkroet/adaptive_improve
[0.19][PATH] Added onDocRestore method for adaptive op
This commit is contained in:
@@ -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)")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user