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:
Ghostkeeper 2020-05-15 15:16:43 +02:00
parent 4482b4f352
commit 6d3acf946a
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -62,7 +62,7 @@ class CuraStackBuilder:
except IndexError:
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)
# Register the global stack after the extruder stacks are created. This prevents the registry from adding another