From e7852552d4b529fea6a384334ae2b5ec190793c5 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 13 Apr 2023 03:09:11 +0200 Subject: [PATCH] Fix `setrngth` typo in `particles_collision_set_attractor_strength()` --- doc/classes/RenderingServer.xml | 2 +- servers/rendering_server.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/RenderingServer.xml b/doc/classes/RenderingServer.xml index b73ed3ccf2f..78572c4aa72 100644 --- a/doc/classes/RenderingServer.xml +++ b/doc/classes/RenderingServer.xml @@ -2366,7 +2366,7 @@ - + diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp index 36bc36e0117..cc09825298a 100644 --- a/servers/rendering_server.cpp +++ b/servers/rendering_server.cpp @@ -2120,7 +2120,7 @@ void RenderingServer::_bind_methods() { ClassDB::bind_method(D_METHOD("particles_collision_set_cull_mask", "particles_collision", "mask"), &RenderingServer::particles_collision_set_cull_mask); ClassDB::bind_method(D_METHOD("particles_collision_set_sphere_radius", "particles_collision", "radius"), &RenderingServer::particles_collision_set_sphere_radius); ClassDB::bind_method(D_METHOD("particles_collision_set_box_extents", "particles_collision", "extents"), &RenderingServer::particles_collision_set_box_extents); - ClassDB::bind_method(D_METHOD("particles_collision_set_attractor_strength", "particles_collision", "setrngth"), &RenderingServer::particles_collision_set_attractor_strength); + ClassDB::bind_method(D_METHOD("particles_collision_set_attractor_strength", "particles_collision", "strength"), &RenderingServer::particles_collision_set_attractor_strength); ClassDB::bind_method(D_METHOD("particles_collision_set_attractor_directionality", "particles_collision", "amount"), &RenderingServer::particles_collision_set_attractor_directionality); ClassDB::bind_method(D_METHOD("particles_collision_set_attractor_attenuation", "particles_collision", "curve"), &RenderingServer::particles_collision_set_attractor_attenuation); ClassDB::bind_method(D_METHOD("particles_collision_set_field_texture", "particles_collision", "texture"), &RenderingServer::particles_collision_set_field_texture);