From 4b956953a643f1619f5be4c3566a1fd7cad1d971 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 31 Jul 2019 10:24:31 +0200 Subject: [PATCH] Fix incorect error checking We don't need to check the global stack for errors, as the correct values are already checked by looking at the extruder stacks --- cura/Machines/MachineErrorChecker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Machines/MachineErrorChecker.py b/cura/Machines/MachineErrorChecker.py index 857f0bc1c4..964331909c 100644 --- a/cura/Machines/MachineErrorChecker.py +++ b/cura/Machines/MachineErrorChecker.py @@ -127,7 +127,7 @@ class MachineErrorChecker(QObject): # Populate the (stack, key) tuples to check self._stacks_and_keys_to_check = deque() - for stack in [global_stack] + list(global_stack.extruders.values()): + for stack in global_stack.extruders.values(): for key in stack.getAllKeys(): self._stacks_and_keys_to_check.append((stack, key))