Merge pull request #75864 from KoBeWi/assassin_of_shaders

This commit is contained in:
Max Hilbrunner
2023-05-05 14:37:54 +02:00
committed by GitHub
6 changed files with 40 additions and 5 deletions

View File

@ -622,7 +622,7 @@ void EditorData::remove_scene(int p_idx) {
}
if (!edited_scene[p_idx].path.is_empty()) {
ScriptEditor::get_singleton()->close_builtin_scripts_from_scene(edited_scene[p_idx].path);
EditorNode::get_singleton()->emit_signal("scene_closed", edited_scene[p_idx].path);
}
undo_redo_manager->discard_history(edited_scene[p_idx].history_id);