Merge branch 'master' into ui_rework_4_0

This commit is contained in:
Diego Prado Gesto 2018-12-11 10:29:46 +01:00
commit f0257e2b79

View File

@ -187,7 +187,10 @@ class ConvexHullDecorator(SceneNodeDecorator):
for child in self._node.getChildren():
child_hull = child.callDecoration("_compute2DConvexHull")
if child_hull:
try:
points = numpy.append(points, child_hull.getPoints(), axis = 0)
except ValueError:
pass
if points.size < 3:
return None