From d9d2cc90693ce2cfc232f2906ce0a9c7578fd9a2 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Mon, 26 Feb 2018 19:37:29 +0100 Subject: [PATCH] Remove unused code in PrintInformation --- cura/PrintInformation.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cura/PrintInformation.py b/cura/PrintInformation.py index e7db889b8f..279e7e0c03 100644 --- a/cura/PrintInformation.py +++ b/cura/PrintInformation.py @@ -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