浏览代码

Update assetImport.tscript

add extra formats for stb_image to asset importer
marauder2k7 1 年之前
父节点
当前提交
ace9cc328b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Templates/BaseGame/game/tools/assetBrowser/scripts/assetImport.tscript

+ 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;