mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 19:57:51 -06:00
deepcopy value from the stack
CURA-4705
This commit is contained in:
parent
419dc6f59a
commit
0a0db39f02
1 changed files with 3 additions and 1 deletions
|
@ -59,7 +59,9 @@ class SettingOverrideDecorator(SceneNodeDecorator):
|
|||
# Properly set the right extruder on the copy
|
||||
deep_copy.setActiveExtruder(self._extruder_stack)
|
||||
|
||||
deep_copy._is_non_printing_mesh = self._is_non_printing_mesh
|
||||
# use value from the stack because there can be a delay in signal triggering and "_is_non_printing_mesh"
|
||||
# has not been updated yet.
|
||||
deep_copy._is_non_printing_mesh = any(bool(self._stack.getProperty(setting, "value")) for setting in self._non_printing_mesh_settings)
|
||||
|
||||
return deep_copy
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue