You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Merge pull request #74795 from KoBeWi/MassNodeEdit
Fix MultiNodeEdit not cleared after deleting nodes
This commit is contained in:
@@ -2221,7 +2221,7 @@ void EditorNode::edit_item(Object *p_object, Object *p_editing_owner) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void EditorNode::push_node_item(Node *p_node) {
|
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.
|
// Don't push null if the currently edited object is not a Node.
|
||||||
push_item(p_node);
|
push_item(p_node);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user