diff --git a/cura/ConvexHullDecorator.py b/cura/ConvexHullDecorator.py index 1f1bc5db34..f16c2a295e 100644 --- a/cura/ConvexHullDecorator.py +++ b/cura/ConvexHullDecorator.py @@ -18,7 +18,12 @@ class ConvexHullDecorator(SceneNodeDecorator): self._profile = None Application.getInstance().getMachineManager().activeProfileChanged.connect(self._onActiveProfileChanged) self._onActiveProfileChanged() - + + ## Force that a new (empty) object is created upon copy. + def __deepcopy__(self, memo): + copy = ConvexHullDecorator() + return copy + def getConvexHull(self): return self._convex_hull