mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Add sanity check for GlobalStack CURA-5045
This commit is contained in:
parent
5a194bb6d1
commit
00d8427e42
4 changed files with 24 additions and 5 deletions
|
@ -402,7 +402,8 @@ class ExtruderManager(QObject):
|
|||
|
||||
# Register the extruder trains by position
|
||||
for extruder_train in extruder_trains:
|
||||
self._extruder_trains[global_stack_id][extruder_train.getMetaDataEntry("position")] = extruder_train
|
||||
extruder_position = extruder_train.getMetaDataEntry("position")
|
||||
self._extruder_trains[global_stack_id][extruder_position] = extruder_train
|
||||
|
||||
# regardless of what the next stack is, we have to set it again, because of signal routing. ???
|
||||
extruder_train.setParent(global_stack)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue