mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08: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
@ -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…
x
Reference in New Issue
Block a user