Use flip up/down to reverse list

CURA-11293
This commit is contained in:
c.lamboo 2023-11-10 18:42:10 +01:00
parent c9730a2089
commit 2569c4c3d1

View file

@ -495,7 +495,7 @@ class BuildVolume(SceneNode):
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