Correct bug in subdivide_mesh_vt
This commit is contained in:
parent
83d615565b
commit
5359a3e861
@ -414,7 +414,7 @@ sweet_geometry_subdivide_mesh_vt (unsigned int nb_iterations, float scale,
|
||||
(*mesh_tcoord)[j+1] = t.uv[i].y;
|
||||
}
|
||||
|
||||
free_all (&map, &v, &t, root, *mesh_vertices, *mesh_indices, *mesh_tcoord);
|
||||
free_all (&map, &v, &t, root, NULL, NULL, NULL);
|
||||
|
||||
(*count_indices) = nb_faces * 3;
|
||||
(*count_vertices) = v.nb_vertices;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user