diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-23 20:01:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 20:01:28 +0100 |
commit | 5efe80f3085c8c6451363fe4c743bf3d7fc20b6c (patch) | |
tree | af94ffe965f79cd0d54dde21704839f115df7c4f | |
parent | 19223f3241bb0d6afa3e9e51f8162657bebae6b6 (diff) | |
parent | 15e8c4052e97ff504a5b6bf9f82fb26d320556d4 (diff) |
Merge pull request #55269 from Calinou/boot-splash-fix-missing-strip-edges
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index ab44149988..b4fbc1929c 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1701,7 +1701,7 @@ Error Main::setup2(Thread::ID p_main_tid_override) { if (show_logo) { //boot logo! const bool boot_logo_image = GLOBAL_DEF("application/boot_splash/show_image", true); - const String boot_logo_path = GLOBAL_DEF("application/boot_splash/image", String()); + const String boot_logo_path = String(GLOBAL_DEF("application/boot_splash/image", String())).strip_edges(); const bool boot_logo_scale = GLOBAL_DEF("application/boot_splash/fullsize", true); const bool boot_logo_filter = GLOBAL_DEF("application/boot_splash/use_filter", true); ProjectSettings::get_singleton()->set_custom_property_info("application/boot_splash/image", |