소스 검색

Merge pull request #55269 from Calinou/boot-splash-fix-missing-strip-edges

Rémi Verschelde 4 년 전
부모
커밋
5efe80f308
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      main/main.cpp

+ 1 - 1
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",