diff options
author | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-07-06 17:07:16 +0200 |
---|---|---|
committer | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-07-06 18:52:28 +0200 |
commit | 2f9a0268ddbf07ea3cd1eed320a4270c99165de5 (patch) | |
tree | dfe00c4b27ed4870c0d877677fc6aede66757866 /core/variant/variant.h | |
parent | d31cf83bb31b9fe8734863eec4c58f4d8f3ad908 (diff) |
Increase the number of arguments accepted by UndoRedo methods
Diffstat (limited to 'core/variant/variant.h')
-rw-r--r-- | core/variant/variant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/variant.h b/core/variant/variant.h index 373fe32921..6d1b4da9e8 100644 --- a/core/variant/variant.h +++ b/core/variant/variant.h @@ -502,7 +502,7 @@ public: static uint32_t get_builtin_method_hash(Variant::Type p_type, const StringName &p_method); void call(const StringName &p_method, const Variant **p_args, int p_argcount, Variant &r_ret, Callable::CallError &r_error); - Variant call(const StringName &p_method, const Variant &p_arg1 = Variant(), const Variant &p_arg2 = Variant(), const Variant &p_arg3 = Variant(), const Variant &p_arg4 = Variant(), const Variant &p_arg5 = Variant()); + Variant call(const StringName &p_method, const Variant &p_arg1 = Variant(), const Variant &p_arg2 = Variant(), const Variant &p_arg3 = Variant(), const Variant &p_arg4 = Variant(), const Variant &p_arg5 = Variant(), const Variant &p_arg6 = Variant(), const Variant &p_arg7 = Variant(), const Variant &p_arg8 = Variant()); static void call_static(Variant::Type p_type, const StringName &p_method, const Variant **p_args, int p_argcount, Variant &r_ret, Callable::CallError &r_error); |