1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Implemented UndoRedo mergeable modes

(cherry picked from commit debf574df3)
This commit is contained in:
Franklin Sobrinho
2016-08-17 17:14:51 -03:00
committed by Rémi Verschelde
parent 71a9efe604
commit f9aeb91850
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();