mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Add vararg call() method to C++ Callable
This commit is contained in:
parent
c7ed5d795e
commit
09b30be86d
27 changed files with 96 additions and 332 deletions
|
@ -2005,9 +2005,7 @@ void RendererCanvasCull::update_visibility_notifiers() {
|
|||
if (RSG::threaded) {
|
||||
visibility_notifier->enter_callable.call_deferred();
|
||||
} else {
|
||||
Callable::CallError ce;
|
||||
Variant ret;
|
||||
visibility_notifier->enter_callable.callp(nullptr, 0, ret, ce);
|
||||
visibility_notifier->enter_callable.call();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
@ -2018,9 +2016,7 @@ void RendererCanvasCull::update_visibility_notifiers() {
|
|||
if (RSG::threaded) {
|
||||
visibility_notifier->exit_callable.call_deferred();
|
||||
} else {
|
||||
Callable::CallError ce;
|
||||
Variant ret;
|
||||
visibility_notifier->exit_callable.callp(nullptr, 0, ret, ce);
|
||||
visibility_notifier->exit_callable.call();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue