assimp_cmd export: print error message on failure.
parent
249f1844ae
commit
ce7673979b
|
@ -334,7 +334,8 @@ bool ExportModel(const aiScene* pOut,
|
|||
PrintHorBar();
|
||||
}
|
||||
if (res != AI_SUCCESS) {
|
||||
printf("ERROR: Failed to write file\n");
|
||||
printf("Failed to write file\n");
|
||||
printf("ERROR: %s\n", globalExporter->GetErrorString());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue