ZOffset decorator is now correctly copied

CURA-1504
This commit is contained in:
Jaime van Kessel 2016-07-01 11:39:04 +02:00
parent 095dbaaa8d
commit b06e61727c

View file

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