forked from Mirrors/openclonk
Print the location of the mesh in the error message when failing to load a mesh
parent
a675400f8a
commit
687c1f4920
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue