浏览代码

helps to report which asse...

AzaezelX 3 年之前
父节点
当前提交
6ce2d4cd9e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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())
    {