From a72d47c2a424d65df1f3d37ecc290bfff24e577e Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 11 Nov 2016 17:06:47 +0100 Subject: [PATCH] Fix adding prime tower locations to disallowed areas Otherwise just a string gets added, which gives an error when the disallowed areas are being built as meshes. The front-end runs again, though the disallowed areas seem to be wrong now. Contributes to issue CURA-2625. --- cura/BuildVolume.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index 16dfd680c2..97ab5fae18 100644 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -429,9 +429,9 @@ class BuildVolume(SceneNode): if prime_tower_collision: #Already found a collision. break if not prime_tower_collision: - result_areas[extruder_id].extend(prime_tower_areas) + result_areas[extruder_id].extend(prime_tower_areas[extruder_id]) else: - self._error_areas.extend(prime_tower_areas) + self._error_areas.extend(prime_tower_areas[extruder_id]) self._has_errors = len(self._error_areas) > 0