mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
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.
This commit is contained in:
parent
81d03a1683
commit
76a9a9a9ab
1 changed files with 2 additions and 0 deletions
|
@ -220,6 +220,7 @@ class MachineManager(QObject):
|
||||||
|
|
||||||
if old_index is not None:
|
if old_index is not None:
|
||||||
extruder_manager.setActiveExtruderIndex(old_index)
|
extruder_manager.setActiveExtruderIndex(old_index)
|
||||||
|
self._auto_materials_changed = {} #Processed all of them now.
|
||||||
|
|
||||||
def _autoUpdateHotends(self):
|
def _autoUpdateHotends(self):
|
||||||
extruder_manager = ExtruderManager.getInstance()
|
extruder_manager = ExtruderManager.getInstance()
|
||||||
|
@ -236,6 +237,7 @@ class MachineManager(QObject):
|
||||||
|
|
||||||
if old_index is not None:
|
if old_index is not None:
|
||||||
extruder_manager.setActiveExtruderIndex(old_index)
|
extruder_manager.setActiveExtruderIndex(old_index)
|
||||||
|
self._auto_hotends_changed = {} #Processed all of them now.
|
||||||
|
|
||||||
def _onGlobalContainerChanged(self):
|
def _onGlobalContainerChanged(self):
|
||||||
if self._global_container_stack:
|
if self._global_container_stack:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue