From 502332ee3e3492665a481a40745805649a532549 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 5 Jan 2018 09:17:02 +0100 Subject: [PATCH] Revert "Account for getConvexHullTransformedVertices returning None" This reverts commit 564a97d5a80545f5eebdc63de7c48a1a435ad2ea. --- cura/Scene/ConvexHullDecorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Scene/ConvexHullDecorator.py b/cura/Scene/ConvexHullDecorator.py index 94045652f5..3a563c2764 100644 --- a/cura/Scene/ConvexHullDecorator.py +++ b/cura/Scene/ConvexHullDecorator.py @@ -177,7 +177,7 @@ class ConvexHullDecorator(SceneNodeDecorator): # Do not throw away vertices: the convex hull may be too small and objects can collide. # vertex_data = vertex_data[vertex_data[:,1] >= -0.01] - if vertex_data and len(vertex_data) >= 4: + if len(vertex_data) >= 4: # Round the vertex data to 1/10th of a mm, then remove all duplicate vertices # This is done to greatly speed up further convex hull calculations as the convex hull # becomes much less complex when dealing with highly detailed models.