You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Added custom editor splash (including sponsor logo).
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include "script_debugger_remote.h"
|
||||
#include "servers/register_server_types.h"
|
||||
#include "splash.gen.h"
|
||||
#include "splash_editor.gen.h"
|
||||
|
||||
#include "input_map.h"
|
||||
#include "io/resource_loader.h"
|
||||
@@ -1051,7 +1052,12 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
|
||||
#ifndef NO_DEFAULT_BOOT_LOGO
|
||||
|
||||
MAIN_PRINT("Main: Create bootsplash");
|
||||
#if defined(TOOLS_ENABLED) && !defined(NO_EDITOR_SPLASH)
|
||||
|
||||
Ref<Image> splash = editor ? memnew(Image(boot_splash_editor_png)) : memnew(Image(boot_splash_png));
|
||||
#else
|
||||
Ref<Image> splash = memnew(Image(boot_splash_png));
|
||||
#endif
|
||||
|
||||
MAIN_PRINT("Main: ClearColor");
|
||||
VisualServer::get_singleton()->set_default_clear_color(boot_splash_bg_color);
|
||||
|
||||
Reference in New Issue
Block a user