aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_node.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-06-07 22:08:12 -0300
committerJuan Linietsky2016-06-07 22:10:09 -0300
commitd61b91cbe0c05466182b15a6dd1899e92fcac749 (patch)
tree3021e43e4e99650062275407616d613b105e13d8 /tools/editor/editor_node.cpp
parent193272aa8a809168b836dde3535cf96ce1f52264 (diff)
downloadgodot-d61b91cbe0c05466182b15a6dd1899e92fcac749.tar.gz
godot-d61b91cbe0c05466182b15a6dd1899e92fcac749.tar.zst
godot-d61b91cbe0c05466182b15a6dd1899e92fcac749.zip
-Heavily improved editor startup and exit performance
Diffstat (limited to 'tools/editor/editor_node.cpp')
-rw-r--r--tools/editor/editor_node.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index 01a6e3514..cc5a44a65 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -2414,6 +2414,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
_menu_option_confirm(RUN_STOP,true);
+ exiting=true;
get_tree()->quit();
} break;
@@ -2747,6 +2748,7 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) {
}
_menu_option_confirm(RUN_STOP,true);
+ exiting=true;
get_tree()->quit();
String exec = OS::get_singleton()->get_executable_path();
@@ -5244,6 +5246,7 @@ EditorNode::EditorNode() {
singleton=this;
+ exiting=false;
last_checked_version=0;
changing_scene=false;
_initializing_addons=false;