mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:25:56 +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
|
color = self._disallowed_area_color
|
||||||
for polygon in self._disallowed_areas:
|
for polygon in self._disallowed_areas:
|
||||||
intersection = polygon.intersectionConvexHulls(bounding_box)
|
intersection = polygon.intersectionConvexHulls(bounding_box)
|
||||||
|
points = numpy.fliplr(intersection.getPoints())
|
||||||
points = intersection.getPoints()[::-1]
|
|
||||||
if len(points) < 3:
|
if len(points) < 3:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user