mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-12-21 13:16:49 +01:00
Don't process the current events in the mesh data resource editor if a key modifier is pressed.
This commit is contained in:
parent
6629fa503c
commit
17bc926810
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user