diff --git a/addons/material_maker/main_window.gd b/addons/material_maker/main_window.gd index a4333d9..f5187b1 100644 --- a/addons/material_maker/main_window.gd +++ b/addons/material_maker/main_window.gd @@ -196,7 +196,7 @@ func load_material(): dialog.rect_min_size = Vector2(500, 500) dialog.access = FileDialog.ACCESS_FILESYSTEM dialog.mode = FileDialog.MODE_OPEN_FILES - dialog.add_filter("*.ptex;Procedural textures file") + dialog.add_filter("*.ptex;Procedural Textures File") dialog.connect("files_selected", self, "do_load_materials") dialog.popup_centered() @@ -235,7 +235,7 @@ func save_material_as(): dialog.rect_min_size = Vector2(500, 500) dialog.access = FileDialog.ACCESS_FILESYSTEM dialog.mode = FileDialog.MODE_SAVE_FILE - dialog.add_filter("*.ptex;Procedural textures file") + dialog.add_filter("*.ptex;Procedural Textures File") dialog.connect("file_selected", graph_edit, "save_file") dialog.popup_centered() diff --git a/addons/material_maker/nodes/image.gd b/addons/material_maker/nodes/image.gd index 202f04e..7516254 100644 --- a/addons/material_maker/nodes/image.gd +++ b/addons/material_maker/nodes/image.gd @@ -24,7 +24,11 @@ func _on_TextureButton_pressed(): dialog.rect_min_size = Vector2(500, 500) dialog.access = FileDialog.ACCESS_FILESYSTEM dialog.mode = FileDialog.MODE_OPEN_FILE - dialog.add_filter("*.png;PNG image") - dialog.add_filter("*.jpg;JPG image") + dialog.add_filter("*.bmp;BMP Image") + dialog.add_filter("*.hdr;Radiance HDR Image") + dialog.add_filter("*.jpg,*.jpeg;JPEG Image") + dialog.add_filter("*.png;PNG Image") + dialog.add_filter("*.tga;TGA Image") + dialog.add_filter("*.webp;WebP Image") dialog.connect("file_selected", self, "set_texture") dialog.popup_centered()