mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fallback to primary screen if no window layout is saved in project metadata.
This commit is contained in:
parent
24d74510e5
commit
65f94b163a
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue