aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-06-23 15:10:46 -0300
committerJuan Linietsky2017-06-23 15:10:46 -0300
commit00e5ba314393ce2cc4df883bc1742306007ed117 (patch)
tree09b10b025b71beca24b6b114ed19ad427f234d4a /modules/gdscript/gd_editor.cpp
parent8ef1c41a4e20602ee1c65a64b1cd5b15e204dfb1 (diff)
downloadgodot-00e5ba314393ce2cc4df883bc1742306007ed117.tar.gz
godot-00e5ba314393ce2cc4df883bc1742306007ed117.tar.zst
godot-00e5ba314393ce2cc4df883bc1742306007ed117.zip
Diffstat (limited to 'modules/gdscript/gd_editor.cpp')
-rw-r--r--modules/gdscript/gd_editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp
index 12e26163d..adf3c8edc 100644
--- a/modules/gdscript/gd_editor.cpp
+++ b/modules/gdscript/gd_editor.cpp
@@ -1276,7 +1276,7 @@ static void _find_identifiers_in_class(GDCompletionContext &context, bool p_stat
}
}
List<MethodInfo> methods;
- ClassDB::get_method_list(type, &methods);
+ ClassDB::get_method_list(type, &methods, false, true);
for (List<MethodInfo>::Element *E = methods.front(); E; E = E->next()) {
if (E->get().name.begins_with("_"))
continue;
@@ -2251,7 +2251,7 @@ Error GDScriptLanguage::complete_code(const String &p_code, const String &p_base
}
List<MethodInfo> mi;
- ClassDB::get_method_list(t.obj_type, &mi);
+ ClassDB::get_method_list(t.obj_type, &mi, false, true);
for (List<MethodInfo>::Element *E = mi.front(); E; E = E->next()) {
if (E->get().name.begins_with("_"))