1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Merge pull request #47636 from qarmin/input

Fix crashes in *_input functions
This commit is contained in:
Rémi Verschelde
2021-04-05 11:54:08 +02:00
committed by GitHub
43 changed files with 103 additions and 0 deletions

View File

@@ -613,6 +613,8 @@ void EditorAssetLibrary::_update_repository_options() {
}
void EditorAssetLibrary::_unhandled_key_input(const Ref<InputEvent> &p_event) {
ERR_FAIL_COND(p_event.is_null());
const Ref<InputEventKey> key = p_event;
if (key.is_valid() && key->is_pressed()) {