Fixes missing default arguments in MethodInfo
This commit is contained in:
parent
c16d00591b
commit
ddb1ce08c3
1 changed files with 2 additions and 1 deletions
|
@ -539,8 +539,9 @@ void ClassDB::get_method_list(StringName p_class, List<MethodInfo> *p_methods, b
|
||||||
}
|
}
|
||||||
|
|
||||||
minfo.return_val = method->get_return_info();
|
minfo.return_val = method->get_return_info();
|
||||||
|
|
||||||
minfo.flags = method->get_hint_flags();
|
minfo.flags = method->get_hint_flags();
|
||||||
|
minfo.default_arguments = method->get_default_arguments();
|
||||||
|
|
||||||
p_methods->push_back(minfo);
|
p_methods->push_back(minfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue