Ensure multinode undo redo merges ends for operation, fixes #19010
This commit is contained in:
parent
079c2630e2
commit
c12de11c44
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ bool MultiNodeEdit::_set_impl(const StringName &p_name, const Variant &p_value,
|
||||||
|
|
||||||
UndoRedo *ur = EditorNode::get_singleton()->get_undo_redo();
|
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()) {
|
for (const List<NodePath>::Element *E = nodes.front(); E; E = E->next()) {
|
||||||
|
|
||||||
if (!es->has_node(E->get()))
|
if (!es->has_node(E->get()))
|
||||||
|
|
Loading…
Reference in a new issue