소스 검색

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;