From a3618c243d8b2c3585af0fb10528c675d5d48758 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 6 Jul 2016 16:38:35 +0200 Subject: [PATCH] Added deepcopy function CURA-1578 --- cura/MultiMaterialDecorator.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cura/MultiMaterialDecorator.py b/cura/MultiMaterialDecorator.py index c702ecef13..5fee777309 100644 --- a/cura/MultiMaterialDecorator.py +++ b/cura/MultiMaterialDecorator.py @@ -5,4 +5,7 @@ class MultiMaterialDecorator(SceneNodeDecorator): super().__init__() def isMultiMaterial(self): - return True \ No newline at end of file + return True + + def __deepcopy__(self, memo): + return MultiMaterialDecorator() \ No newline at end of file