mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 06:55:54 +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"))
|
material_preference_values = json.loads(Preferences.getInstance().getValue("cura/material_settings"))
|
||||||
|
|
||||||
extruder_stacks = global_stack.extruders
|
extruder_stacks = global_stack.extruders
|
||||||
for position, extruder_stack in extruder_stacks.keys():
|
for position, extruder_stack in extruder_stacks.items():
|
||||||
index = int(position)
|
index = int(position)
|
||||||
if index >= len(self._material_amounts):
|
if index >= len(self._material_amounts):
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user