1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Merge pull request #6188 from TheHX/undo-redo

Implemented UndoRedo mergeable modes
This commit is contained in:
Rémi Verschelde
2016-08-29 19:04:42 +02:00
committed by GitHub
8 changed files with 81 additions and 34 deletions

View File

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