You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fallback to primary screen if no window layout is saved in project metadata.
This commit is contained in:
@@ -2925,6 +2925,10 @@ Error Main::setup2(bool p_show_boot_logo) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (init_screen == EditorSettings::InitialScreen::INITIAL_SCREEN_AUTO) {
|
||||||
|
init_screen = DisplayServer::SCREEN_PRIMARY;
|
||||||
|
}
|
||||||
|
|
||||||
OS::get_singleton()->benchmark_end_measure("Startup", "Initialize Early Settings");
|
OS::get_singleton()->benchmark_end_measure("Startup", "Initialize Early Settings");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user