Add job as parameter to opSetDefaultValues

This commit is contained in:
Markus Lampert
2018-08-19 13:34:29 -07:00
parent b93d39f701
commit 070d17e4e4
14 changed files with 33 additions and 37 deletions

View File

@@ -73,9 +73,9 @@ class ObjectContour(PathProfileBase.ObjectProfile):
def areaOpOnDocumentRestored(self, obj):
obj.setEditorMode('Side', 2) # it's always outside
def areaOpSetDefaultValues(self, obj):
'''areaOpSetDefaultValues(obj) ... call super's implementation and set Side="Outside".'''
self.baseObject().areaOpSetDefaultValues(obj)
def areaOpSetDefaultValues(self, obj, job):
'''areaOpSetDefaultValues(obj, job) ... call super's implementation and set Side="Outside".'''
self.baseObject().areaOpSetDefaultValues(obj, job)
obj.Side = 'Outside'
def areaOpShapes(self, obj):