summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_3d_mesh_saver_ply.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_3d_mesh_saver_ply.c')
-rw-r--r--src/lib/evas/canvas/evas_3d_mesh_saver_ply.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_3d_mesh_saver_ply.c b/src/lib/evas/canvas/evas_3d_mesh_saver_ply.c
index f2376a33bb..a0ba9457d3 100644
--- a/src/lib/evas/canvas/evas_3d_mesh_saver_ply.c
+++ b/src/lib/evas/canvas/evas_3d_mesh_saver_ply.c
@@ -17,6 +17,11 @@ evas_3d_mesh_save_ply(Evas_3D_Mesh *mesh, const char *file, Evas_3D_Mesh_Frame *
17 17
18 Evas_3D_Mesh_Data *pd = eo_data_scope_get(mesh, EVAS_3D_MESH_CLASS); 18 Evas_3D_Mesh_Data *pd = eo_data_scope_get(mesh, EVAS_3D_MESH_CLASS);
19 FILE *_ply_file = fopen(file, "w+"); 19 FILE *_ply_file = fopen(file, "w+");
20 if (!_ply_file)
21 {
22 ERR("File open '%s' for save failed", file);
23 return;
24 }
20 25
21 fprintf(_ply_file,"ply\nformat ascii 1.0\ncomment Created by EFL evas_3d_mesh_saver_ply.c" \ 26 fprintf(_ply_file,"ply\nformat ascii 1.0\ncomment Created by EFL evas_3d_mesh_saver_ply.c" \
22 "version 1 (sub 0) - www.enlightenment.org, source file: ''\n"); 27 "version 1 (sub 0) - www.enlightenment.org, source file: ''\n");