From 1d75480082d35b243e731834c5d65a0ef09c67ce Mon Sep 17 00:00:00 2001 From: Yuri Rubinsky Date: Mon, 6 Nov 2023 19:08:12 +0300 Subject: [PATCH] Fix autocompletion for enum members in the core classes --- modules/gdscript/gdscript_editor.cpp | 169 ++++++++++++++++++--------- 1 file changed, 115 insertions(+), 54 deletions(-) diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 44e104da05f7..d45acbcae8f2 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -636,19 +636,6 @@ static int _get_method_location(const StringName &p_class, const StringName &p_m return depth | ScriptLanguage::LOCATION_PARENT_MASK; } -static int _get_method_location(Ref