assimp_cmd export: print error message on failure.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user