diff options
author | Jack Ha <j.ha@ultimaker.com> | 2017-02-22 18:30:57 +0300 |
---|---|---|
committer | Jack Ha <j.ha@ultimaker.com> | 2017-02-22 18:30:57 +0300 |
commit | b568ad701bbadb14978bccfe60547f7d7240ca4a (patch) | |
tree | 363e2de34c3bc21a01f88a5d29740b4251f69629 /cura/ConvexHullDecorator.py | |
parent | 3ca9ae145e70a3339028d9de55544da739a86899 (diff) |
Fixed convex hull for triangles. CURA-3314
Diffstat (limited to 'cura/ConvexHullDecorator.py')
-rw-r--r-- | cura/ConvexHullDecorator.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |