mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
Fix crashes in *_input functions
This commit is contained in:
parent
a864a703ee
commit
504bc5cc67
43 changed files with 103 additions and 0 deletions
|
|
@ -606,6 +606,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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue