From 76a9a9a9ab9e39ba1dc047200ce13b3e6fbef5cc Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 19 May 2017 14:39:22 +0200 Subject: [PATCH] Erase changed hotends/materials after applying changes Otherwise we may only change one of the extruders next time, and it'll still have the other change in this dictionary from the previous time we are syncing from the printer. Contributes to issue CURA-3788. --- cura/Settings/MachineManager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cura/Settings/MachineManager.py b/cura/Settings/MachineManager.py index ae9e9d329b..9564b8a5b0 100755 --- a/cura/Settings/MachineManager.py +++ b/cura/Settings/MachineManager.py @@ -220,6 +220,7 @@ class MachineManager(QObject): if old_index is not None: extruder_manager.setActiveExtruderIndex(old_index) + self._auto_materials_changed = {} #Processed all of them now. def _autoUpdateHotends(self): extruder_manager = ExtruderManager.getInstance() @@ -236,6 +237,7 @@ class MachineManager(QObject): if old_index is not None: extruder_manager.setActiveExtruderIndex(old_index) + self._auto_hotends_changed = {} #Processed all of them now. def _onGlobalContainerChanged(self): if self._global_container_stack: