Print the location of the mesh in the error message when failing to load a mesh

Armin Burgmeier 2012-01-13 23:44:05 +01:00
parent a675400f8a
commit 687c1f4920
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ bool C4DefGraphics::LoadMesh(C4Group &hGroup, StdMeshSkeletonLoader& loader)
}
catch (const std::runtime_error& ex)
{
DebugLogF("Failed to load mesh: %s", ex.what());
DebugLogF("Failed to load mesh in definition %s: %s", hGroup.GetName(), ex.what());
delete[] buf;
return false;
}