From e7e633760ae508a5914929da6a5f83a4ba403942 Mon Sep 17 00:00:00 2001 From: Nodragem Date: Fri, 9 Aug 2024 10:39:25 +0100 Subject: [PATCH] prevent the click to get processed further after a paste action --- modules/gridmap/editor/grid_map_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gridmap/editor/grid_map_editor_plugin.cpp b/modules/gridmap/editor/grid_map_editor_plugin.cpp index f402e2a5832..ea63e071042 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;