mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 12:19:03 +08:00
deepcopy value from the stack
CURA-4705
This commit is contained in:
parent
419dc6f59a
commit
0a0db39f02
@ -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…
x
Reference in New Issue
Block a user