mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
Re-apply part of b991743053
that worked
This was indeed a mistake. Contributes to issues CURA-340 and CURA-1278.
This commit is contained in:
parent
08d116590d
commit
8feed746bf
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class ExtruderManager(QObject):
|
|||
# \param machine_definition The machine to add the extruders for.
|
||||
def addMachineExtruders(self, machine_definition):
|
||||
machine_id = machine_definition.getId()
|
||||
if not self._extruder_trains[machine_id]:
|
||||
if machine_id not in self._extruder_trains:
|
||||
self._extruder_trains[machine_id] = { }
|
||||
|
||||
container_registry = UM.Settings.ContainerRegistry.getInstance()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue