Code readability improvement

CURA-11293
This commit is contained in:
Erwan MATHIEU 2023-11-09 16:19:35 +01:00
parent 6539841f3e
commit b8e8f2ac0e

View file

@ -495,8 +495,7 @@ class BuildVolume(SceneNode):
color = self._disallowed_area_color
for polygon in self._disallowed_areas:
intersection = polygon.intersectionConvexHulls(bounding_box)
points = intersection.getPoints()[::-1]
points = numpy.fliplr(intersection.getPoints())
if len(points) < 3:
continue