Browse Source

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

Juan Linietsky 6 years ago
parent
commit
c12de11c44
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/multi_node_edit.cpp

+ 1 - 1
editor/multi_node_edit.cpp

@@ -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()))