Selaa lähdekoodia

Update assetImport.tscript

add extra formats for stb_image to asset importer
marauder2k7 1 vuosi sitten
vanhempi
commit
ace9cc328b

+ 1 - 1
Templates/BaseGame/game/tools/assetBrowser/scripts/assetImport.tscript

@@ -94,7 +94,7 @@ function ImportAssetWindow::onWake(%this)
 //
 function isImageFormat(%fileExt)
 {
-   if( (%fileExt $= ".png") || (%fileExt $= ".jpg") || (%fileExt $= ".bmp") || (%fileExt $= ".dds") || (%fileExt $= ".tif"))
+   if( (%fileExt $= ".png") || (%fileExt $= ".jpg") || (%fileExt $= ".bmp") || (%fileExt $= ".dds") || (%fileExt $= ".tif") || (%fileExt $= ".psd") || (%fileExt $= ".gif") || (%fileExt $= ".hdr"))
       return true;
       
    return false;