mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
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.
This commit is contained in:
parent
57f88ea048
commit
a72d47c2a4
1 changed files with 2 additions and 2 deletions
|
@ -429,9 +429,9 @@ class BuildVolume(SceneNode):
|
||||||
if prime_tower_collision: #Already found a collision.
|
if prime_tower_collision: #Already found a collision.
|
||||||
break
|
break
|
||||||
if not prime_tower_collision:
|
if not prime_tower_collision:
|
||||||
result_areas[extruder_id].extend(prime_tower_areas)
|
result_areas[extruder_id].extend(prime_tower_areas[extruder_id])
|
||||||
else:
|
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
|
self._has_errors = len(self._error_areas) > 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue