Update assetImport.tscript

add extra formats for stb_image to asset importer
This commit is contained in:
marauder2k7 2023-12-08 05:06:24 +00:00
parent 89a8a4d190
commit ace9cc328b

View file

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