From b6611b66f84f328190ca10c01ed17b49299f483f Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 11 Nov 2016 11:51:32 +0100 Subject: [PATCH] Remove unused intermediary value This is not used, unless you take multi-threading into account. In that case though, the actual disallowed areas are only updated at the end of this function, and the _has_errors variable is updated right before then as well, so this way the variable is in an invalid state for a smaller amount of time. Contributes to issue CURA-2625. --- cura/BuildVolume.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 35707b91c8..6f0a708ee2 100644 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -376,7 +376,6 @@ class BuildVolume(SceneNode): if not self._global_container_stack: return - self._has_errors = False # Reset. self._error_areas = [] areas = []