You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
committed by
Rémi Verschelde
parent
7be11742b5
commit
321a4bfcd8
@@ -721,8 +721,7 @@ bool GridMapEditor::forward_spatial_input_event(Camera *p_camera, const Ref<Inpu
|
||||
}
|
||||
|
||||
if (mb->get_button_index() == BUTTON_LEFT && input_action == INPUT_SELECT) {
|
||||
|
||||
undo_redo->create_action("GridMap Selection");
|
||||
undo_redo->create_action(TTR("GridMap Selection"));
|
||||
undo_redo->add_do_method(this, "_set_selection", selection.active, selection.begin, selection.end);
|
||||
undo_redo->add_undo_method(this, "_set_selection", last_selection.active, last_selection.begin, last_selection.end);
|
||||
undo_redo->commit_action();
|
||||
|
||||
Reference in New Issue
Block a user