mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Close built-in script from any scene
This commit is contained in:
@@ -566,6 +566,10 @@ void EditorData::remove_scene(int p_idx) {
|
||||
current_edited_scene--;
|
||||
}
|
||||
|
||||
if (edited_scene[p_idx].path != String()) {
|
||||
ScriptEditor::get_singleton()->close_builtin_scripts_from_scene(edited_scene[p_idx].path);
|
||||
}
|
||||
|
||||
edited_scene.remove(p_idx);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user