mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 00:56:01 +08:00
Remove unused code in PrintInformation
This commit is contained in:
parent
a74f84fce7
commit
d9d2cc9069
@ -212,7 +212,6 @@ class PrintInformation(QObject):
|
||||
material_preference_values = json.loads(Preferences.getInstance().getValue("cura/material_settings"))
|
||||
|
||||
extruder_stacks = global_stack.extruders
|
||||
#for index, amount in enumerate(self._material_amounts):
|
||||
for extruder_key in global_stack.extruders.keys():
|
||||
index = int(extruder_key)
|
||||
if index >= len(self._material_amounts): # Right now the _material_amounts is a list, where the index is the extruder number
|
||||
|
Loading…
x
Reference in New Issue
Block a user