Fix crashes in *_input functions
This commit is contained in:
@ -1826,6 +1826,8 @@ void VisualScriptEditor::_generic_search(String p_base_type, Vector2 pos, bool n
|
||||
}
|
||||
|
||||
void VisualScriptEditor::_input(const Ref<InputEvent> &p_event) {
|
||||
ERR_FAIL_COND(p_event.is_null());
|
||||
|
||||
// GUI input for VS Editor Plugin
|
||||
Ref<InputEventMouseButton> key = p_event;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user