diff options
| author | Franklin Sobrinho | 2016-08-17 17:14:51 -0300 |
|---|---|---|
| committer | Rémi Verschelde | 2016-09-01 08:41:04 +0200 |
| commit | f9aeb9185067729b3ce7ca716f1d2d5749630667 (patch) | |
| tree | 3fa2d91fdccf46b8c777c69d518d2e69f93206d4 /tools/editor/plugins/canvas_item_editor_plugin.cpp | |
| parent | 71a9efe604720a67226330f5c16ef99968ce783d (diff) | |
| download | godot-f9aeb9185067729b3ce7ca716f1d2d5749630667.tar.gz godot-f9aeb9185067729b3ce7ca716f1d2d5749630667.tar.zst godot-f9aeb9185067729b3ce7ca716f1d2d5749630667.zip | |
Implemented UndoRedo mergeable modes
(cherry picked from commit debf574df35caf8e0880b65120e3c79c45e1c92a)
Diffstat (limited to 'tools/editor/plugins/canvas_item_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/canvas_item_editor_plugin.cpp | 2 |
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(); |
