Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Ha <j.ha@ultimaker.com>2017-02-22 18:30:57 +0300
committerJack Ha <j.ha@ultimaker.com>2017-02-22 18:30:57 +0300
commitb568ad701bbadb14978bccfe60547f7d7240ca4a (patch)
tree363e2de34c3bc21a01f88a5d29740b4251f69629 /cura/ConvexHullDecorator.py
parent3ca9ae145e70a3339028d9de55544da739a86899 (diff)
Fixed convex hull for triangles. CURA-3314
Diffstat (limited to 'cura/ConvexHullDecorator.py')
-rw-r--r--cura/ConvexHullDecorator.py2
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: