Obj_io. Step 1. Fix incorrect loading of mesh with faces which have more than 4 vertices. (like: f n1/n2/n3 n4/n5/n6 n7/n8/n9 n10/n11/n12 n13/n14/n15 ...)

This commit is contained in:
Bogdan Devichev 2015-01-28 18:32:33 +02:00
parent 92d7024653
commit 199ea77b4e
1 changed files with 1 additions and 0 deletions

View File

@ -286,6 +286,7 @@ evas_model_load_file_obj(Evas_3D_Mesh *mesh, Eina_File *file)
&ARRAY_2D(_triangles, counts.current_triangles_counter, 7, 9),
&ARRAY_2D(_triangles, counts.current_triangles_counter, 8, 9));
current++;
while (*current != ' ')
{
current++;