Fixes missing default arguments in MethodInfo

This commit is contained in:
Ignacio Etcheverry 2017-08-29 18:11:39 +02:00
parent c16d00591b
commit ddb1ce08c3

View file

@ -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.flags = method->get_hint_flags();
minfo.default_arguments = method->get_default_arguments();
p_methods->push_back(minfo);
}