summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-10 09:37:18 +0100
committerGitHub <noreply@github.com>2020-11-10 09:37:18 +0100
commit5d89b1ad434827169c9d8e221f1da6eac7de7ba8 (patch)
treea6f19f00b98bee20aeba7220463360853a444ba9 /main
parente0285dcc0095a2ba2e82c1b2abc07052cb5f25c7 (diff)
parent0f9432f0609d1e6b64a4038047777c3c108bc047 (diff)
Merge pull request #43369 from Calinou/allow-svg-project-icon
Allow using SVG images as project icon
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 0667180c28..3905366598 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",