commit 4edd4b52eb03ec383660a0b73b0e676dd9bbec4d
parent 1d7495104fac18b7825c832e3afa94d71ef743cf
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 9 Mar 2020 13:49:05 +0100
Fix the setup of the mesh material
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/htrdr_ground.c b/src/htrdr_ground.c
@@ -227,7 +227,7 @@ setup_mesh
darray_size_t_clear(indices);
htable_vertex_clear(vertices);
- FOR_EACH(iface, mtl->face_id, mtl->faces_count) {
+ FOR_EACH(iface, mtl->face_id, mtl->face_id+mtl->faces_count) {
struct aw_obj_face face;
size_t ivertex;