mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Fixed convex hull for triangles. CURA-3314
This commit is contained in:
parent
3ca9ae145e
commit
b568ad701b
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
|||
|
||||
hull = Polygon(vertex_data)
|
||||
|
||||
if len(vertex_data) >= 4:
|
||||
if len(vertex_data) >= 3:
|
||||
convex_hull = hull.getConvexHull()
|
||||
offset_hull = self._offsetHull(convex_hull)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue