check for null event in Viewport::push_input
(cherry picked from commit a5a1c3a03c
)
This commit is contained in:
parent
14f1141abe
commit
52c8c8c174
@ -2833,6 +2833,7 @@ bool Viewport::_sub_windows_forward_input(const Ref<InputEvent> &p_event) {
|
||||
|
||||
void Viewport::push_input(const Ref<InputEvent> &p_event, bool p_local_coords) {
|
||||
ERR_FAIL_COND(!is_inside_tree());
|
||||
ERR_FAIL_COND(p_event.is_null());
|
||||
|
||||
if (disable_input) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user