mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Fix iteration over prime-disallowed areas
Oops. prime_disallowed_areas is a dictionary per extruder. Contributes to issue CURA-2625.
This commit is contained in:
parent
1c445a1512
commit
a8d36c9116
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ class BuildVolume(SceneNode):
|
|||
|
||||
collision = False
|
||||
for prime_polygon in prime_areas[extruder_id]:
|
||||
for disallowed_polygon in prime_disallowed_areas:
|
||||
for disallowed_polygon in prime_disallowed_areas[extruder_id]:
|
||||
if prime_polygon.intersectsPolygon(disallowed_polygon) is not None:
|
||||
collision = True
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue