commit 2d109213ec57e0b973b4e52d35c1e6345f4069ce
parent 00b7a0a07cd18c7eba527e987c5c4d533c573e70
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Wed, 3 May 2023 11:42:29 +0200
BugFix: using wrong array elt could cause a non-conformal mesh
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cg_city.c b/src/cg_city.c
@@ -526,7 +526,7 @@ city_cad_build(struct city* city)
for(a = 0; a < darray_adjoining_data_size_get(&adjoining_data); a++) {
struct b_pair pair;
size_t c;
- ERR(scad_geometry_get_count(adj->common_geometry, &c));
+ ERR(scad_geometry_get_count(adj[a].common_geometry, &c));
if(c == 0) {
/* Not really adjoining */
continue;