1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

prevent the click to get processed further after a paste action

(cherry picked from commit e7e633760a)
This commit is contained in:
Nodragem
2024-08-09 10:39:25 +01:00
committed by Rémi Verschelde
parent 2d7266e764
commit 6b323241b1

View File

@@ -643,6 +643,7 @@ EditorPlugin::AfterGUIInput GridMapEditor::forward_spatial_input_event(Camera3D
_do_paste(); _do_paste();
input_action = INPUT_NONE; input_action = INPUT_NONE;
_update_paste_indicator(); _update_paste_indicator();
return EditorPlugin::AFTER_GUI_INPUT_STOP;
} else if (mb->is_shift_pressed() && can_edit) { } else if (mb->is_shift_pressed() && can_edit) {
input_action = INPUT_SELECT; input_action = INPUT_SELECT;
last_selection = selection; last_selection = selection;