Added support for multi base model to Chamfer op.

This commit is contained in:
Markus Lampert
2018-08-31 20:24:55 -07:00
committed by wmayer
parent c4e87429c0
commit 811b93eb18

View File

@@ -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)