summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBogdan Devichev <b.devichev@samsung.com>2015-01-28 18:32:33 +0200
committerBogdan Devichev <b.devichev@samsung.com>2015-01-28 18:32:33 +0200
commit199ea77b4e719fb174ba442f622270953d4a7383 (patch)
tree156852a7b129347485c2aeabd3b473e96057ab55
parent92d702465379905dfc56e7b456bf21cde8ae33b3 (diff)
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 ...)
-rw-r--r--src/modules/evas/model_loaders/obj/evas_model_load_obj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/evas/model_loaders/obj/evas_model_load_obj.c b/src/modules/evas/model_loaders/obj/evas_model_load_obj.c
index 64c4eb9e58..062d179ff6 100644
--- a/src/modules/evas/model_loaders/obj/evas_model_load_obj.c
+++ b/src/modules/evas/model_loaders/obj/evas_model_load_obj.c
@@ -286,6 +286,7 @@ evas_model_load_file_obj(Evas_3D_Mesh *mesh, Eina_File *file)
286 &ARRAY_2D(_triangles, counts.current_triangles_counter, 7, 9), 286 &ARRAY_2D(_triangles, counts.current_triangles_counter, 7, 9),
287 &ARRAY_2D(_triangles, counts.current_triangles_counter, 8, 9)); 287 &ARRAY_2D(_triangles, counts.current_triangles_counter, 8, 9));
288 288
289 current++;
289 while (*current != ' ') 290 while (*current != ' ')
290 { 291 {
291 current++; 292 current++;