Эх сурвалжийг харах

helps to report which asse...

AzaezelX 3 жил өмнө
parent
commit
6ce2d4cd9e

+ 1 - 1
Engine/source/T3D/assets/ShapeAsset.cpp

@@ -209,7 +209,7 @@ void ShapeAsset::initializeAsset()
 
    mConstructorFilePath = getOwned() ? expandAssetFilePath(mConstructorFileName) : mConstructorFilePath;
    if (!Torque::FS::IsFile(mConstructorFilePath))
-      Con::errorf("ShapeAsset::initializeAsset could not find %s!", mConstructorFilePath);
+      Con::errorf("ShapeAsset::initializeAsset (%s) could not find %s!", getAssetName(), mConstructorFilePath);
    mDiffuseImposterPath = getOwned() ? expandAssetFilePath(mDiffuseImposterFileName) : mDiffuseImposterFileName;
    if (mDiffuseImposterPath == StringTable->EmptyString())
    {