From 17bc9268109c511413b0272663e17086e5d5b95d Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 31 Dec 2021 13:52:23 +0100 Subject: [PATCH] Don't process the current events in the mesh data resource editor if a key modifier is pressed. --- game/addons/mesh_data_resource_editor/MDIEd.gd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/game/addons/mesh_data_resource_editor/MDIEd.gd b/game/addons/mesh_data_resource_editor/MDIEd.gd index 66285167..5c12f5ec 100644 --- a/game/addons/mesh_data_resource_editor/MDIEd.gd +++ b/game/addons/mesh_data_resource_editor/MDIEd.gd @@ -18,6 +18,9 @@ func _unhandled_key_input(event : InputEventKey) -> void: if event.echo: return + if event.alt || event.shift || event.control || event.meta || event.command: + return + #if event.key if event.scancode == KEY_G: #translate