summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-05-08 00:46:40 -0300
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-05-08 00:46:40 -0300
commit699140000cf88c114e4aaf8593726a8df8d5d4b4 (patch)
tree6e9f5564c3938acbedc0aaed208e5bd26892c4c5 /editor/scene_tree_dock.cpp
parent0239d8bd9fa03965439aac2482d18746f807bd00 (diff)
Revert "Merge pull request #28715 from YeldhamDev/inherent_scene_close_empty"
This reverts commit 0f8356d43994e3b7f054ac223a6681773aeb9330, reversing changes made to 7b7a664a974e86acb6d55e31609d33cf84311b8f.
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r--editor/scene_tree_dock.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index ad4b99562c..a41f10607b 100644
--- a/editor/scene_tree_dock.cpp
+++ b/editor/scene_tree_dock.cpp
@@ -334,7 +334,6 @@ void SceneTreeDock::_tool_selected(int p_tool, bool p_confirm_override) {
Node *scene = edited_scene;
if (!scene) {
- EditorNode::get_singleton()->close_current_scene();
EditorNode::get_singleton()->new_inherited_scene();
break;
}