mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Don't apply frame delay project setting to the editor
This appears to already be the case for the Max FPS project setting.
(cherry picked from commit a63556212d)
This commit is contained in:
committed by
Yuri Sizov
parent
c5e94ad9de
commit
b468496700
@@ -1962,6 +1962,9 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
|
||||
if (frame_delay == 0) {
|
||||
frame_delay = GLOBAL_DEF(PropertyInfo(Variant::INT, "application/run/frame_delay_msec", PROPERTY_HINT_RANGE, "0,100,1,or_greater"), 0);
|
||||
if (Engine::get_singleton()->is_editor_hint()) {
|
||||
frame_delay = 0;
|
||||
}
|
||||
}
|
||||
|
||||
OS::get_singleton()->set_low_processor_usage_mode(GLOBAL_DEF("application/run/low_processor_mode", false));
|
||||
|
||||
Reference in New Issue
Block a user