瀏覽代碼

nother specifier wrapper

AzaezelX 4 年之前
父節點
當前提交
cd6e027d1f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Engine/source/T3D/assets/assetImporter.cpp

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

@@ -1671,7 +1671,7 @@ void AssetImporter::processMaterialAsset(AssetImportObject* assetItem)
       if(mat)
       {
          //We found a match, so just modify our asset item's info to point against it. This will create the asset definition, but otherwise leave the material definition as-is.
-         assetItem->filePath = mat->getFilename();
+         assetItem->filePath = (Torque::Path)(mat->getFilename());
       }
    }
    else