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:
@@ -222,7 +222,7 @@ void GPUParticles3D::set_draw_pass_mesh(int p_pass, const Ref<Mesh> &p_mesh) {
|
||||
draw_passes.write[p_pass] = p_mesh;
|
||||
|
||||
if (Engine::get_singleton()->is_editor_hint() && draw_passes.write[p_pass].is_valid()) {
|
||||
draw_passes.write[p_pass]->connect("changed", callable_mp((Node *)this, &Node::update_configuration_warnings), varray(), CONNECT_DEFERRED);
|
||||
draw_passes.write[p_pass]->connect("changed", callable_mp((Node *)this, &Node::update_configuration_warnings), CONNECT_DEFERRED);
|
||||
}
|
||||
|
||||
RID mesh_rid;
|
||||
|
||||
Reference in New Issue
Block a user