You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
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