Merge pull request #43369 from Calinou/allow-svg-project-icon

Allow using SVG images as project icon
This commit is contained in:
Rémi Verschelde 2020-11-10 09:37:18 +01:00 committed by GitHub
commit 5d89b1ad43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",