From 465391d1451575f68fb5503efe1c6ed9a731ed83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Sat, 18 Nov 2017 13:31:33 +0100 Subject: [PATCH] fix scrambled bottom faces --- src/c3nav/mapdata/render/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/mapdata/render/data.py b/src/c3nav/mapdata/render/data.py index 25973077..e8fe91ad 100644 --- a/src/c3nav/mapdata/render/data.py +++ b/src/c3nav/mapdata/render/data.py @@ -678,7 +678,7 @@ class LevelGeometries: # bottom faces if bottom: mesh.bottom = self._filter_faces( - np.dstack((self.vertices[np.flip(geom_faces, axis=1)], lower[geom_faces])) + np.flip(np.dstack((self.vertices[geom_faces], lower[geom_faces])), axis=1) ) return tuple((mesh, ))