From 0f9432f0609d1e6b64a4038047777c3c108bc047 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 6 Nov 2020 23:05:29 +0100 Subject: [PATCH] Allow using SVG images as project icon Since exporters will save their own icon, the target platforms don't have to support SVG to display the icon correctly. This closes #23068. --- main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.cpp b/main/main.cpp index 1866228a23b..e3b0f66f07f 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1608,7 +1608,7 @@ Error Main::setup2(Thread::ID p_main_tid_override) { GLOBAL_DEF("application/config/icon", String()); ProjectSettings::get_singleton()->set_custom_property_info("application/config/icon", PropertyInfo(Variant::STRING, "application/config/icon", - PROPERTY_HINT_FILE, "*.png,*.webp")); + PROPERTY_HINT_FILE, "*.png,*.webp,*.svg,*.svgz")); GLOBAL_DEF("application/config/macos_native_icon", String()); ProjectSettings::get_singleton()->set_custom_property_info("application/config/macos_native_icon",