From b568ad701bbadb14978bccfe60547f7d7240ca4a Mon Sep 17 00:00:00 2001 From: Jack Ha Date: Wed, 22 Feb 2017 16:30:57 +0100 Subject: [PATCH] Fixed convex hull for triangles. CURA-3314 --- cura/ConvexHullDecorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/ConvexHullDecorator.py b/cura/ConvexHullDecorator.py index 65c799619a..2b97feec82 100644 --- a/cura/ConvexHullDecorator.py +++ b/cura/ConvexHullDecorator.py @@ -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: