mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Use new extruderList rather than extruders
The extruders dictionary has been deprecated in favour of extruderList. Done during Turbo Testing and Tooling to reduce the number of warnings in our log.
This commit is contained in:
parent
4482b4f352
commit
6d3acf946a
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class CuraStackBuilder:
|
||||||
except IndexError:
|
except IndexError:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
for new_extruder in new_global_stack.extruders.values(): # Only register the extruders if we're sure that all of them are correct.
|
for new_extruder in new_global_stack.extruderList: # Only register the extruders if we're sure that all of them are correct.
|
||||||
registry.addContainer(new_extruder)
|
registry.addContainer(new_extruder)
|
||||||
|
|
||||||
# Register the global stack after the extruder stacks are created. This prevents the registry from adding another
|
# Register the global stack after the extruder stacks are created. This prevents the registry from adding another
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue