mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 09:15:55 +08:00
Allow properly duplicating painted models
CURA-12544
This commit is contained in:
parent
57f811af88
commit
5a4b5bf119
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user