mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Close built-in shaders when closing scene
(cherry picked from commit aaf02ec04a)
This commit is contained in:
@@ -595,7 +595,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);
|
||||
|
||||
Reference in New Issue
Block a user