@@ -17,7 +17,7 @@ class TabTextures {
if (ui.button("Import")) {
UIFiles.show = true;
UIFiles.isSave = false;
- UIFiles.filters = "jpg,png,tga,hdr";
+ UIFiles.filters = "jpg,png,tga,bmp,psd,gif,hdr";
UIFiles.filesDone = function(path:String) {
Importer.importFile(path);
}
@@ -442,7 +442,7 @@ class UITrait {
else if (Operator.shortcut(Config.keymap.import_assets)) {
- UIFiles.filters = "jpg,png,tga,hdr,obj,fbx,blend,arm";
+ UIFiles.filters = "jpg,png,tga,bmp,psd,gif,hdr,obj,fbx,blend,arm";
@@ -41,6 +41,9 @@ class Path {
return p.endsWith(".jpg") ||
p.endsWith(".png") ||
p.endsWith(".tga") ||
+ p.endsWith(".bmp") ||
+ p.endsWith(".psd") ||
+ p.endsWith(".gif") ||
p.endsWith(".hdr");