mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13: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:
parent
14d021287b
commit
d4433ae6d3
149 changed files with 645 additions and 708 deletions
|
@ -106,7 +106,7 @@ void RenderingServerDefault::_draw(bool p_swap_buffers, double frame_step) {
|
|||
Callable c = frame_drawn_callbacks.front()->get();
|
||||
Variant result;
|
||||
Callable::CallError ce;
|
||||
c.call(nullptr, 0, result, ce);
|
||||
c.callp(nullptr, 0, result, ce);
|
||||
if (ce.error != Callable::CallError::CALL_OK) {
|
||||
String err = Variant::get_callable_error_text(c, nullptr, 0, ce);
|
||||
ERR_PRINT("Error calling frame drawn function: " + err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue