You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +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:
@@ -219,21 +219,21 @@ void Utilities::visibility_notifier_call(RID p_notifier, bool p_enter, bool p_de
|
||||
if (p_enter) {
|
||||
if (!vn->enter_callback.is_null()) {
|
||||
if (p_deferred) {
|
||||
vn->enter_callback.call_deferred(nullptr, 0);
|
||||
vn->enter_callback.call_deferredp(nullptr, 0);
|
||||
} else {
|
||||
Variant r;
|
||||
Callable::CallError ce;
|
||||
vn->enter_callback.call(nullptr, 0, r, ce);
|
||||
vn->enter_callback.callp(nullptr, 0, r, ce);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (!vn->exit_callback.is_null()) {
|
||||
if (p_deferred) {
|
||||
vn->exit_callback.call_deferred(nullptr, 0);
|
||||
vn->exit_callback.call_deferredp(nullptr, 0);
|
||||
} else {
|
||||
Variant r;
|
||||
Callable::CallError ce;
|
||||
vn->exit_callback.call(nullptr, 0, r, ce);
|
||||
vn->exit_callback.callp(nullptr, 0, r, ce);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user