mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
Merge pull request #49 from Calinou/add-svg-image-format
Add SVG as a loadable image format
This commit is contained in:
commit
1a8cfca668
@ -26,6 +26,7 @@ func _on_TextureButton_pressed() -> void:
|
|||||||
dialog.add_filter("*.hdr;Radiance HDR Image")
|
dialog.add_filter("*.hdr;Radiance HDR Image")
|
||||||
dialog.add_filter("*.jpg,*.jpeg;JPEG Image")
|
dialog.add_filter("*.jpg,*.jpeg;JPEG Image")
|
||||||
dialog.add_filter("*.png;PNG Image")
|
dialog.add_filter("*.png;PNG Image")
|
||||||
|
dialog.add_filter("*.svg;SVG Image")
|
||||||
dialog.add_filter("*.tga;TGA Image")
|
dialog.add_filter("*.tga;TGA Image")
|
||||||
dialog.add_filter("*.webp;WebP Image")
|
dialog.add_filter("*.webp;WebP Image")
|
||||||
dialog.connect("file_selected", self, "set_texture")
|
dialog.connect("file_selected", self, "set_texture")
|
||||||
|
Loading…
Reference in New Issue
Block a user