1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00

Close built-in script from any scene

(cherry picked from commit 1a60509699)
This commit is contained in:
kobewi
2021-09-07 22:19:45 +02:00
committed by Rémi Verschelde
parent 59eafe4cd3
commit fe745e2fff
2 changed files with 4 additions and 4 deletions

View File

@@ -3275,10 +3275,6 @@ void EditorNode::_remove_edited_scene(bool p_change_tab) {
new_index = 1;
}
if (editor_data.get_scene_path(old_index) != String()) {
ScriptEditor::get_singleton()->close_builtin_scripts_from_scene(editor_data.get_scene_path(old_index));
}
if (p_change_tab) {
_scene_tab_changed(new_index);
}