mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Code readability improvement
CURA-11293
This commit is contained in:
parent
6539841f3e
commit
b8e8f2ac0e
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue