From 596dc48f33beecca14bc7a91c30f6e490fbc509d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Wed, 8 Nov 2017 12:30:11 +0100 Subject: [PATCH] don't use quality meshing. we want to get a result, not freeze the device --- src/c3nav/mapdata/utils/mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/mapdata/utils/mesh.py b/src/c3nav/mapdata/utils/mesh.py index 43bbc71c..cd48f58c 100644 --- a/src/c3nav/mapdata/utils/mesh.py +++ b/src/c3nav/mapdata/utils/mesh.py @@ -36,7 +36,7 @@ def _triangulate_polygon(polygon: Polygon, keep_holes=False): if holes.size: info.set_holes(holes.reshape((holes.shape[0], -1))) - mesh = triangle.build(info) + mesh = triangle.build(info, quality_meshing=False) return np.array(mesh.points), np.array(mesh.elements)