Don't process the current events in the mesh data resource editor if a key modifier is pressed.

This commit is contained in:
Relintai 2021-12-31 13:52:23 +01:00
parent 6629fa503c
commit 17bc926810

View File

@ -18,6 +18,9 @@ func _unhandled_key_input(event : InputEventKey) -> void:
if event.echo: if event.echo:
return return
if event.alt || event.shift || event.control || event.meta || event.command:
return
#if event.key #if event.key
if event.scancode == KEY_G: if event.scancode == KEY_G:
#translate #translate