diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-04-09 20:40:48 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-04-09 20:40:48 -0300 |
commit | 1c480698ce0e881cbd28f1f0ddba95cee74ca834 (patch) | |
tree | ec97e2a6152d036fd2dee490d62500dfa7da2339 /scene/main | |
parent | 7ba71fb24346fb87f50a9eb4aa6b675c31507528 (diff) |
-Fixed crash with splash screen on windows
-properly show editor without having to resize window on windows
Diffstat (limited to 'scene/main')
-rw-r--r-- | scene/main/scene_main_loop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/scene_main_loop.cpp b/scene/main/scene_main_loop.cpp index 83f60bb9e9..be28479f39 100644 --- a/scene/main/scene_main_loop.cpp +++ b/scene/main/scene_main_loop.cpp @@ -2317,7 +2317,7 @@ SceneTree::SceneTree() { stretch_aspect = STRETCH_ASPECT_IGNORE; last_screen_size = Size2(OS::get_singleton()->get_video_mode().width, OS::get_singleton()->get_video_mode().height); - root->set_size(last_screen_size); + _update_root_rect(); if (ScriptDebugger::get_singleton()) { ScriptDebugger::get_singleton()->set_request_scene_tree_message_func(_debugger_request_tree, this); |