Merge pull request #49 from Calinou/add-svg-image-format

Add SVG as a loadable image format
This commit is contained in:
Rodz Labs 2019-10-27 12:50:31 +01:00 committed by GitHub
commit 1a8cfca668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,7 @@ func _on_TextureButton_pressed() -> void:
dialog.add_filter("*.hdr;Radiance HDR Image")
dialog.add_filter("*.jpg,*.jpeg;JPEG Image")
dialog.add_filter("*.png;PNG Image")
dialog.add_filter("*.svg;SVG Image")
dialog.add_filter("*.tga;TGA Image")
dialog.add_filter("*.webp;WebP Image")
dialog.connect("file_selected", self, "set_texture")