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

@@ -113,8 +113,8 @@ class ObjectChamfer(PathEngraveBase.ObjectOp):
'''The chamfer op can only deal with features of the base model, all others are rejected.'''
return base != self.baseobject
def opSetDefaultValues(self, obj):
PathLog.track(obj.Label)
def opSetDefaultValues(self, obj, job):
PathLog.track(obj.Label, job.Label)
obj.Width = '1 mm'
obj.ExtraDepth = '0.1 mm'
obj.Join = 'Round'