From ddb1ce08c3cf5f9b978566c8196b9f387d3edf9a Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Tue, 29 Aug 2017 18:11:39 +0200 Subject: [PATCH] Fixes missing default arguments in MethodInfo --- core/class_db.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/class_db.cpp b/core/class_db.cpp index 0d6c72afa8f..53bac3e3491 100644 --- a/core/class_db.cpp +++ b/core/class_db.cpp @@ -539,8 +539,9 @@ void ClassDB::get_method_list(StringName p_class, List *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); }