From 811b93eb188a2fb2240d3166f99bf550408e0cc0 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Fri, 31 Aug 2018 20:24:55 -0700 Subject: [PATCH] Added support for multi base model to Chamfer op. --- src/Mod/Path/PathScripts/PathChamfer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathChamfer.py b/src/Mod/Path/PathScripts/PathChamfer.py index 84fe471b2f..6a681bf6db 100644 --- a/src/Mod/Path/PathScripts/PathChamfer.py +++ b/src/Mod/Path/PathScripts/PathChamfer.py @@ -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)