minor fixes

This commit is contained in:
erwin coumans
2013-04-03 09:19:39 -07:00
parent a1aa281622
commit c2eb058e1f
4 changed files with 18 additions and 3 deletions

View File

@@ -199,7 +199,7 @@ int obj_parse_mtl_file(char *filename, list *material_list)
mtl_file_stream = fopen( filename, "r");
if(mtl_file_stream == 0)
{
fprintf(stderr, "Error reading file: %s\n", filename);
fprintf(stderr, "Warning: cannot find material file: %s (skipping)\n", filename);
return 0;
}