Skip to content

Commit

Permalink
prevent the click to get processed further after a paste action
Browse files Browse the repository at this point in the history
  • Loading branch information
Nodragem committed Aug 9, 2024
1 parent c73ac74 commit e7e6337
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/gridmap/editor/grid_map_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ EditorPlugin::AfterGUIInput GridMapEditor::forward_spatial_input_event(Camera3D
_do_paste();
input_action = INPUT_NONE;
_update_paste_indicator();
return EditorPlugin::AFTER_GUI_INPUT_STOP;
} else if (mb->is_shift_pressed() && can_edit) {
input_action = INPUT_SELECT;
last_selection = selection;
Expand Down

0 comments on commit e7e6337

Please sign in to comment.