Revert "Merge pull request #28715 from YeldhamDev/inherent_scene_close_empty"
This reverts commit0f8356d439
, reversing changes made to7b7a664a97
.
This commit is contained in:
parent
0239d8bd9f
commit
699140000c
2 changed files with 0 additions and 2 deletions
|
@ -671,7 +671,6 @@ public:
|
|||
static void remove_editor_plugin(EditorPlugin *p_editor, bool p_config_changed = false);
|
||||
|
||||
void new_inherited_scene() { _menu_option_confirm(FILE_NEW_INHERITED_SCENE, false); }
|
||||
void close_current_scene() { _menu_option_confirm(FILE_CLOSE, false); }
|
||||
|
||||
void set_docks_visible(bool p_show);
|
||||
bool get_docks_visible() const;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue