2
0
Эх сурвалжийг харах

Merge pull request #95322 from Nodragem/fix-pasting-in-gridmap

Fix copy-paste and cut-paste in GridMap
Rémi Verschelde 1 жил өмнө
parent
commit
9393388940

+ 1 - 0
modules/gridmap/editor/grid_map_editor_plugin.cpp

@@ -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;