Selaa lähdekoodia

nother specifier wrapper

AzaezelX 4 vuotta sitten
vanhempi
commit
cd6e027d1f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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