Skip to content

Commit

Permalink
Use flip up/down to reverse list
Browse files Browse the repository at this point in the history
  • Loading branch information
casperlamboo committed Nov 10, 2023
1 parent c9730a2 commit 2569c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cura/BuildVolume.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def _buildDisallowedAreaMesh(self, min_w: float, max_w: float, min_h: float, max
color = self._disallowed_area_color
for polygon in self._disallowed_areas:
intersection = polygon.intersectionConvexHulls(bounding_box)
points = numpy.fliplr(intersection.getPoints())
points = numpy.flipud(intersection.getPoints())
if len(points) < 3:
continue

Expand Down

0 comments on commit 2569c4c

Please sign in to comment.