Merge pull request #62934 from Xwdit/script_doc_arg_def_var
This commit is contained in:
commit
345dd9f0fb
1 changed files with 3 additions and 1 deletions
|
@ -290,7 +290,9 @@ void GDScript::_get_script_method_list(List<MethodInfo> *r_list, bool p_include_
|
|||
#endif
|
||||
mi.arguments.push_back(arginfo);
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
mi.default_arguments.append_array(func->get_default_arg_values());
|
||||
#endif
|
||||
mi.return_val = func->get_return_type();
|
||||
r_list->push_back(mi);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue