Evas 3d: Improve error messages in model load & save

See make check's evas_suite ouput
This commit is contained in:
Jean-Philippe Andre 2015-12-29 14:51:28 +09:00
parent f64e195844
commit 92f17399a7
2 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ evas_common_load_model_from_file(Evas_Canvas3D_Mesh *model, const char *file)
if (tmp_file == NULL)
{
ERR("Failed to open file %s\n", file);
ERR("Failed to open file %s", file);
ERR("Failed to initialize loader.");
return;
}

View File

@ -40,7 +40,7 @@ _set_geometry_to_eet_file_from_mesh(Evas_Canvas3D_Mesh_Data *mesh,
vb = &f->vertices[a];\
if (vb->data == NULL)\
{\
ERR("Reading of geometrics is failed.");\
ERR("Failed to read geometrics for '%s'.", #component);\
}\
else\
{\
@ -89,8 +89,8 @@ _set_material_to_eet_file_from_mesh(Evas_Canvas3D_Mesh_Eet *eet_mesh,
if (material == NULL)
{
ERR("Default material is set to saved file, because custom material \
was not saved before using of function evas_3d_mesh_save.");
ERR("Material is set to the default values, because no custom material "
"was saved earlier by evas_3d_mesh_save.");
for (i = 0; i < 5; i++)
{