Quellcode durchsuchen

helps to report which asse...

AzaezelX vor 3 Jahren
Ursprung
Commit
6ce2d4cd9e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      Engine/source/T3D/assets/ShapeAsset.cpp

+ 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())
    {