Allow properly duplicating painted models

CURA-12544
This commit is contained in:
Erwan MATHIEU 2025-06-03 15:59:44 +02:00
parent 57f811af88
commit 5a4b5bf119

View File

@ -29,4 +29,6 @@ class SliceableObjectDecorator(SceneNodeDecorator):
self._paint_texture = texture
def __deepcopy__(self, memo) -> "SliceableObjectDecorator":
return type(self)()
copied_decorator = SliceableObjectDecorator()
copied_decorator.setPaintTexture(copy.deepcopy(self.getPaintTexture()))
return copied_decorator