mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Avoid replacing machine_settings and not settable_per_extruder settings
This commit is contained in:
parent
1bb5b8ff3e
commit
18fba5b529
1 changed files with 8 additions and 7 deletions
|
@ -553,7 +553,8 @@ class MachineManager(QObject):
|
|||
## Copy the value of all settings of the current extruder to all other extruders as well as the global container.
|
||||
@pyqtSlot()
|
||||
def copyAllValuesToExtruders(self):
|
||||
for key in self._active_container_stack.getAllKeys():
|
||||
for key in self._active_container_stack.getAllKeys() - set([machine_setting.key for machine_setting in self._active_container_stack.getProperty("machine_settings", "children")]):
|
||||
if self._active_container_stack.getProperty(key, "settable_per_extruder"):
|
||||
new_value = self._active_container_stack.getProperty(key, "value")
|
||||
extruder_stacks = [stack for stack in ExtruderManager.getInstance().getMachineExtruders(self._global_container_stack.getId())]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue