diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-13 17:58:59 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-13 17:58:59 +0100 |
commit | d405392847149e1620324ac9217952bc51884baf (patch) | |
tree | d79c119d450cff25202aa428b3dc1f39fde6ccdf /modules/gdscript | |
parent | 4a2c2170b40b4e5562c9ad0f1e0ed84c6bf5c7b7 (diff) |
Revert "Fixed the jumping to function definition using 'Ctrl+LMB'."
This reverts commit 7eb6367d5cb62fb48563ad940423198f792e3fe8.
Fixes #73058.
Fixes #73167.
This caused regressions, we'll retry with fixes for 4.1.
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 3543c0a79f..8cfd48b52b 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -3491,14 +3491,6 @@ static Error _lookup_symbol_from_base(const GDScriptParser::DataType &p_base, co break; } - if (context.current_class) { - if (context.type != GDScriptParser::COMPLETION_SUPER_METHOD) { - base.type = context.current_class->get_datatype(); - } else { - base.type = context.current_class->base_type; - } - } - if (_lookup_symbol_from_base(base.type, p_symbol, is_function, r_result) == OK) { return OK; } |