mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Editor: Respect -w command line flag.
This commit is contained in:
parent
a663dbfdd8
commit
3434971496
@ -755,8 +755,10 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
if (editor) {
|
||||
Engine::get_singleton()->set_editor_hint(true);
|
||||
main_args.push_back("--editor");
|
||||
init_maximized = true;
|
||||
video_mode.maximized = true;
|
||||
if (!init_windowed) {
|
||||
init_maximized = true;
|
||||
video_mode.maximized = true;
|
||||
}
|
||||
use_custom_res = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user