Don't use splash minimum display time in editor
(cherry picked from commit 5ee6d33d49
)
This commit is contained in:
parent
a31b866793
commit
56a0004478
|
@ -2706,6 +2706,9 @@ bool Main::start() {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t minimum_time_msec = GLOBAL_DEF(PropertyInfo(Variant::INT, "application/boot_splash/minimum_display_time", PROPERTY_HINT_RANGE, "0,100,1,or_greater,suffix:ms"), 0);
|
uint64_t minimum_time_msec = GLOBAL_DEF(PropertyInfo(Variant::INT, "application/boot_splash/minimum_display_time", PROPERTY_HINT_RANGE, "0,100,1,or_greater,suffix:ms"), 0);
|
||||||
|
if (Engine::get_singleton()->is_editor_hint()) {
|
||||||
|
minimum_time_msec = 0;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef TOOLS_ENABLED
|
#ifdef TOOLS_ENABLED
|
||||||
#ifdef MODULE_GDSCRIPT_ENABLED
|
#ifdef MODULE_GDSCRIPT_ENABLED
|
||||||
|
|
Loading…
Reference in New Issue