aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/canvas_item_editor_plugin.cpp
diff options
context:
space:
mode:
authorFranklin Sobrinho2016-08-17 17:14:51 -0300
committerFranklin Sobrinho2016-08-17 17:14:51 -0300
commitdebf574df35caf8e0880b65120e3c79c45e1c92a (patch)
tree10e512fc5bca08cc20ad593ef70c9c6d85fba125 /tools/editor/plugins/canvas_item_editor_plugin.cpp
parent56fa741b7a729bd5a00cff17e4382af547de92ad (diff)
downloadgodot-debf574df35caf8e0880b65120e3c79c45e1c92a.tar.gz
godot-debf574df35caf8e0880b65120e3c79c45e1c92a.tar.zst
godot-debf574df35caf8e0880b65120e3c79c45e1c92a.zip
Implemented UndoRedo mergeable modes
Diffstat (limited to 'tools/editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/canvas_item_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/canvas_item_editor_plugin.cpp b/tools/editor/plugins/canvas_item_editor_plugin.cpp
index 02a24f8dd..ec6bdc91d 100644
--- a/tools/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/tools/editor/plugins/canvas_item_editor_plugin.cpp
@@ -648,7 +648,7 @@ void CanvasItemEditor::_key_move(const Vector2& p_dir, bool p_snap, KeyMoveMODE
if (editor_selection->get_selected_node_list().empty())
return;
- undo_redo->create_action(TTR("Move Action"),true);
+ undo_redo->create_action(TTR("Move Action"),UndoRedo::MERGE_ENDS);
List<Node*> &selection = editor_selection->get_selected_node_list();