You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fixes #15416 - "The deleted nodes are hanging in the inspector."
This commit is contained in:
@@ -1285,6 +1285,11 @@ void SceneTreeDock::_delete_confirm() {
|
||||
editor->get_viewport_control()->update();
|
||||
|
||||
editor->push_item(NULL);
|
||||
|
||||
// Fixes the EditorHistory from still offering deleted notes
|
||||
EditorHistory *editor_history = EditorNode::get_singleton()->get_editor_history();
|
||||
editor_history->cleanup_history();
|
||||
EditorNode::get_singleton()->call("_prepare_history");
|
||||
}
|
||||
|
||||
void SceneTreeDock::_selection_changed() {
|
||||
|
||||
Reference in New Issue
Block a user