Ensure multinode undo redo merges ends for operation, fixes #19010

This commit is contained in:
Juan Linietsky 2018-11-18 21:43:22 -03:00
parent 079c2630e2
commit c12de11c44

View file

@ -52,7 +52,7 @@ bool MultiNodeEdit::_set_impl(const StringName &p_name, const Variant &p_value,
UndoRedo *ur = EditorNode::get_singleton()->get_undo_redo();
ur->create_action(TTR("MultiNode Set") + " " + String(name));
ur->create_action(TTR("MultiNode Set") + " " + String(name), UndoRedo::MERGE_ENDS);
for (const List<NodePath>::Element *E = nodes.front(); E; E = E->next()) {
if (!es->has_node(E->get()))