From 699140000cf88c114e4aaf8593726a8df8d5d4b4 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Silva Dias Date: Wed, 8 May 2019 00:46:40 -0300 Subject: Revert "Merge pull request #28715 from YeldhamDev/inherent_scene_close_empty" This reverts commit 0f8356d43994e3b7f054ac223a6681773aeb9330, reversing changes made to 7b7a664a974e86acb6d55e31609d33cf84311b8f. --- editor/scene_tree_dock.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'editor/scene_tree_dock.cpp') 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; } -- cgit v1.2.3