From 57f88ea0483edbf55b158d326cb179bd78549b7b Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 11 Nov 2016 17:02:01 +0100 Subject: [PATCH] Mush disallowed areas of all extruders together The final result needs to be just a list. Contributes to issue CURA-2625. --- cura/BuildVolume.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 0080ecfd81..16dfd680c2 100644 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -434,7 +434,10 @@ class BuildVolume(SceneNode): self._error_areas.extend(prime_tower_areas) self._has_errors = len(self._error_areas) > 0 - self._disallowed_areas = result_areas + + self._disallowed_areas = [] + for extruder_id in result_areas: + self._disallowed_areas.extend(result_areas[extruder_id]) ## Computes the disallowed areas for objects that are printed with print # features.