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:
@@ -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'''
|
||||
|
||||
Reference in New Issue
Block a user