mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 06:59:03 +08:00
Code readability improvement
CURA-11293
This commit is contained in:
parent
6539841f3e
commit
b8e8f2ac0e
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user