mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Remove Signal connect binds
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
This commit is contained in:
parent
14d021287b
commit
d4433ae6d3
149 changed files with 645 additions and 708 deletions
|
|
@ -1906,11 +1906,11 @@ void RendererCanvasCull::update_visibility_notifiers() {
|
|||
|
||||
if (!visibility_notifier->enter_callable.is_null()) {
|
||||
if (RSG::threaded) {
|
||||
visibility_notifier->enter_callable.call_deferred(nullptr, 0);
|
||||
visibility_notifier->enter_callable.call_deferredp(nullptr, 0);
|
||||
} else {
|
||||
Callable::CallError ce;
|
||||
Variant ret;
|
||||
visibility_notifier->enter_callable.call(nullptr, 0, ret, ce);
|
||||
visibility_notifier->enter_callable.callp(nullptr, 0, ret, ce);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
@ -1919,11 +1919,11 @@ void RendererCanvasCull::update_visibility_notifiers() {
|
|||
|
||||
if (!visibility_notifier->exit_callable.is_null()) {
|
||||
if (RSG::threaded) {
|
||||
visibility_notifier->exit_callable.call_deferred(nullptr, 0);
|
||||
visibility_notifier->exit_callable.call_deferredp(nullptr, 0);
|
||||
} else {
|
||||
Callable::CallError ce;
|
||||
Variant ret;
|
||||
visibility_notifier->exit_callable.call(nullptr, 0, ret, ce);
|
||||
visibility_notifier->exit_callable.callp(nullptr, 0, ret, ce);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue