diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-10-01 08:42:47 -0700 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2021-10-01 08:42:47 -0700 |
commit | b8eeb34b4e18304ce24bda6001c6f120b99ddeec (patch) | |
tree | db3af96a27ceb15562692de0777007fdc87da5a5 /servers/physics_3d/physics_server_3d_sw.cpp | |
parent | 77721b35ba21f2e7e8bb42cf415fccb018517843 (diff) | |
download | redot-engine-b8eeb34b4e18304ce24bda6001c6f120b99ddeec.tar.gz |
Remove scene code in physics servers
Replaced Mesh with mesh RID in Godot Physics 3D and Bullet.
Diffstat (limited to 'servers/physics_3d/physics_server_3d_sw.cpp')
-rw-r--r-- | servers/physics_3d/physics_server_3d_sw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_3d/physics_server_3d_sw.cpp b/servers/physics_3d/physics_server_3d_sw.cpp index ece1fe46e7..36f81e072d 100644 --- a/servers/physics_3d/physics_server_3d_sw.cpp +++ b/servers/physics_3d/physics_server_3d_sw.cpp @@ -1098,7 +1098,7 @@ real_t PhysicsServer3DSW::soft_body_get_drag_coefficient(RID p_body) const { return soft_body->get_drag_coefficient(); } -void PhysicsServer3DSW::soft_body_set_mesh(RID p_body, const REF &p_mesh) { +void PhysicsServer3DSW::soft_body_set_mesh(RID p_body, RID p_mesh) { SoftBody3DSW *soft_body = soft_body_owner.get_or_null(p_body); ERR_FAIL_COND(!soft_body); |