mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
ZOffset decorator is now correctly copied
CURA-1504
This commit is contained in:
parent
095dbaaa8d
commit
b06e61727c
1 changed files with 3 additions and 1 deletions
|
@ -12,4 +12,6 @@ class ZOffsetDecorator(SceneNodeDecorator):
|
||||||
return self._z_offset
|
return self._z_offset
|
||||||
|
|
||||||
def __deepcopy__(self, memo):
|
def __deepcopy__(self, memo):
|
||||||
return ZOffsetDecorator()
|
copied_decorator = ZOffsetDecorator()
|
||||||
|
copied_decorator.setZOffset(self.getZOffset())
|
||||||
|
return copied_decorator
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue