You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user