diff options
author | Nodragem <geoffrey.megardon@gmail.com> | 2024-08-09 10:39:25 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-16 16:57:44 +0200 |
commit | 6b323241b1b648f5c2f723f16880cfa680ce583b (patch) | |
tree | 013c18b9f842ee4dc256611ddc7420a19b4ca1d7 /modules/gridmap | |
parent | 2d7266e7649de49e3c60fd4389c5dec1364a929d (diff) | |
download | redot-engine-6b323241b1b648f5c2f723f16880cfa680ce583b.tar.gz |
prevent the click to get processed further after a paste action
(cherry picked from commit e7e633760ae508a5914929da6a5f83a4ba403942)
Diffstat (limited to 'modules/gridmap')
-rw-r--r-- | modules/gridmap/editor/grid_map_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gridmap/editor/grid_map_editor_plugin.cpp b/modules/gridmap/editor/grid_map_editor_plugin.cpp index f402e2a583..ea63e07104 100644 --- a/modules/gridmap/editor/grid_map_editor_plugin.cpp +++ b/modules/gridmap/editor/grid_map_editor_plugin.cpp @@ -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; |