mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 19:25:58 +08:00
Fix extruder_stacks.items()
This commit is contained in:
parent
d372fc75e7
commit
f7377e6321
@ -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…
x
Reference in New Issue
Block a user