mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Fix extruder_stacks.items()
This commit is contained in:
parent
d372fc75e7
commit
f7377e6321
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ class PrintInformation(QObject):
|
|||
material_preference_values = json.loads(Preferences.getInstance().getValue("cura/material_settings"))
|
||||
|
||||
extruder_stacks = global_stack.extruders
|
||||
for position, extruder_stack in extruder_stacks.keys():
|
||||
for position, extruder_stack in extruder_stacks.items():
|
||||
index = int(position)
|
||||
if index >= len(self._material_amounts):
|
||||
continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue