From b06e61727c86c6cf43d62a515b248b69302d34de Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 1 Jul 2016 11:39:04 +0200 Subject: [PATCH] ZOffset decorator is now correctly copied CURA-1504 --- cura/ZOffsetDecorator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cura/ZOffsetDecorator.py b/cura/ZOffsetDecorator.py index c2912454de..66dddfd390 100644 --- a/cura/ZOffsetDecorator.py +++ b/cura/ZOffsetDecorator.py @@ -12,4 +12,6 @@ class ZOffsetDecorator(SceneNodeDecorator): return self._z_offset def __deepcopy__(self, memo): - return ZOffsetDecorator() + copied_decorator = ZOffsetDecorator() + copied_decorator.setZOffset(self.getZOffset()) + return copied_decorator