1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix missing method qualifiers in script doc

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
Xwdit
2022-07-17 07:26:57 +02:00
committed by Rémi Verschelde
parent b50acebd48
commit 5d49df8d97
3 changed files with 32 additions and 48 deletions

View File

@@ -278,6 +278,11 @@ void GDScript::_get_script_method_list(List<MethodInfo> *r_list, bool p_include_
GDScriptFunction *func = E.value;
MethodInfo mi;
mi.name = E.key;
if (func->is_static()) {
mi.flags |= METHOD_FLAG_STATIC;
}
for (int i = 0; i < func->get_argument_count(); i++) {
PropertyInfo arginfo = func->get_argument_type(i);
#ifdef TOOLS_ENABLED