-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UndoRedo's do/undo methods can't go further than 5 arguments #26483
Comments
Limit is defined in Line 45 in 8b231b9
|
@Naryosha Then why methods like |
Both functions don't refer to the |
@akien-mga Is there a reason for the argument limit to be 5, or is just arbitrary? |
function uses VARIANT_ARG_LIST But I do not know if the engine can work with "va_list". "print" - works by its own rules, not through "D_METHOD". |
Just encountered this while developing a plugin. If it's not going to be fixed in the next update, then an error specific to exceeding VARIANT_ARG_MAX instead of just a generic |
Still valid in 2ba96f0 |
Fixed by #54188. |
Godot version:
b84b015
Issue description:
When using UndoRedo's do/undo methods, the number of arguments can't go further than 5, as anything else will be ignored.
Minimal reproduction project:
The following code will give an error stating that the
test()
method was only called with 5 arguments.The text was updated successfully, but these errors were encountered: