diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2023-03-16 10:44:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 10:44:56 -0700 |
commit | 6970257cffc6790f4d7e847e87e5cab9e252874e (patch) | |
tree | 670c3d175851bf4d151a41d37121d834db3a7bf9 /editor/editor_node.cpp | |
parent | d23922ffebe48f29126c003411495737d07e5a9f (diff) | |
parent | c0e5879b41f99d690287bc4c696a8a217084e6ed (diff) |
Merge pull request #74987 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.1) - 4th batch
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 385806a3a7..b1c3c51a9c 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<Node>(InspectorDock::get_inspector_singleton()->get_edited_object())) { + if (p_node || Object::cast_to<Node>(InspectorDock::get_inspector_singleton()->get_edited_object()) || Object::cast_to<MultiNodeEdit>(InspectorDock::get_inspector_singleton()->get_edited_object())) { // Don't push null if the currently edited object is not a Node. push_item(p_node); } |