Fix failed Job creation due EnableRotation property error

PathAreaOp:   Add SetupProperties() function
PathPocketBase:   Modify SetupProperties() function to include return from same in PathAreaOp.
PathPocketShape:  remove blank indents
PathProfileBase:  Modify SetupProperties() function to include return from same in PathAreaOp.
PathProfileFaces:  fix `EnableRotation` issue
This commit is contained in:
Russell Johnson
2020-03-20 21:01:55 -05:00
parent 1102195a9a
commit 9bdbfc2a69
5 changed files with 42 additions and 38 deletions

View File

@@ -71,12 +71,11 @@ class ObjectProfile(PathProfileBase.ObjectProfile):
if not hasattr(obj, 'HandleMultipleFeatures'):
obj.addProperty('App::PropertyEnumeration', 'HandleMultipleFeatures', 'Profile', QtCore.QT_TRANSLATE_NOOP('PathPocket', 'Choose how to process multiple Base Geometry features.'))
obj.HandleMultipleFeatures = ['Collectively', 'Individually']
self.initRotationOp(obj)
self.baseObject().initAreaOp(obj)
self.setOpEditorProperties(obj)
def initRotationOp(self, obj):
'''initRotationOp(obj) ... setup receiver for rotation'''