diff options
author | Jaime van Kessel <nallath@gmail.com> | 2020-01-28 11:36:29 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2020-01-28 11:36:29 +0300 |
commit | 9a9e715e2fb58e5a885f55d75cbbbdb5c5495c81 (patch) | |
tree | 61b4ae28c12cfc22b3302c4b27e2a5dc0ce2b336 /cura | |
parent | 305bce5a785247900d2d5a91718074375cdbc3ca (diff) | |
parent | bcec433f53740043f389184101e154d1f885b332 (diff) |
Merge branch 'CURA-6914_Reset_print_sequence_when_reactivating_2nd_extruder' of github.com:Ultimaker/Cura
Diffstat (limited to 'cura')
-rwxr-xr-x | cura/Settings/MachineManager.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cura/Settings/MachineManager.py b/cura/Settings/MachineManager.py index 31ea691e76..f78a21aaad 100755 --- a/cura/Settings/MachineManager.py +++ b/cura/Settings/MachineManager.py @@ -747,6 +747,11 @@ class MachineManager(QObject): result = [] # type: List[str] for setting_instance in container.findInstances(): setting_key = setting_instance.definition.key + if setting_key == "print_sequence": + old_value = container.getProperty(setting_key, "value") + Logger.log("d", "Reset setting [%s] in [%s] because its old value [%s] is no longer valid", setting_key, container, old_value) + result.append(setting_key) + continue if not self._global_container_stack.getProperty(setting_key, "type") in ("extruder", "optional_extruder"): continue |