From fbffd686e23dfd2e5599d0b2ca35d71805d8d7a9 Mon Sep 17 00:00:00 2001 From: kobewi Date: Sat, 11 Mar 2023 22:46:31 +0100 Subject: [PATCH] Fix MultiNodeEdit not cleared after deleting nodes --- editor/editor_node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 385806a3a73..b1c3c51a9cd 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -2221,7 +2221,7 @@ void EditorNode::edit_item(Object *p_object, Object *p_editing_owner) { } void EditorNode::push_node_item(Node *p_node) { - if (p_node || Object::cast_to(InspectorDock::get_inspector_singleton()->get_edited_object())) { + if (p_node || Object::cast_to(InspectorDock::get_inspector_singleton()->get_edited_object()) || Object::cast_to(InspectorDock::get_inspector_singleton()->get_edited_object())) { // Don't push null if the currently edited object is not a Node. push_item(p_node); }