mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-02-17 18:02:16 -07:00
Allow properly duplicating painted models
CURA-12544
This commit is contained in:
parent
57f811af88
commit
5a4b5bf119
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue