Added support for multi base model to Chamfer op.
This commit is contained in:
@@ -111,7 +111,7 @@ class ObjectChamfer(PathEngraveBase.ObjectOp):
|
||||
|
||||
def opRejectAddBase(self, obj, base, sub):
|
||||
'''The chamfer op can only deal with features of the base model, all others are rejected.'''
|
||||
return base != self.baseobject
|
||||
return not base in self.model
|
||||
|
||||
def opSetDefaultValues(self, obj, job):
|
||||
PathLog.track(obj.Label, job.Label)
|
||||
|
||||
Reference in New Issue
Block a user