1
0
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:
Rafał Mikrut
2021-04-05 08:52:21 +02:00
parent a864a703ee
commit 504bc5cc67
43 changed files with 103 additions and 0 deletions

View File

@@ -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;