Explorar o código

nother specifier wrapper

AzaezelX %!s(int64=4) %!d(string=hai) anos
pai
achega
cd6e027d1f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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