Fixed convex hull for triangles. CURA-3314

This commit is contained in:
Jack Ha 2017-02-22 16:30:57 +01:00
parent 3ca9ae145e
commit b568ad701b

View file

@ -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: