diff options
author | benbot <bbotwin@atlassian.com> | 2022-08-24 16:49:39 -0400 |
---|---|---|
committer | benbot <bbotwin@atlassian.com> | 2022-08-24 16:49:39 -0400 |
commit | 9c1bcdcf1a407b21d3881f690f1c366d64fdcf32 (patch) | |
tree | 5827325d4a6967a87a0cb1cc783b32494815b6f0 /scene/3d/physics_body_3d.cpp | |
parent | 34aa6b06a7002469ee54541067ce3c39bf42815a (diff) | |
download | redot-engine-9c1bcdcf1a407b21d3881f690f1c366d64fdcf32.tar.gz |
removes unused skeleton functions and stray comments in RigidDynamicBody3D
Diffstat (limited to 'scene/3d/physics_body_3d.cpp')
-rw-r--r-- | scene/3d/physics_body_3d.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/3d/physics_body_3d.cpp b/scene/3d/physics_body_3d.cpp index cf0f2d3a02..9b033e955d 100644 --- a/scene/3d/physics_body_3d.cpp +++ b/scene/3d/physics_body_3d.cpp @@ -525,7 +525,7 @@ void RigidDynamicBody3D::_body_state_changed(PhysicsDirectBodyState3D *p_state) } _RigidDynamicBodyInOut *toadd = (_RigidDynamicBodyInOut *)alloca(p_state->get_contact_count() * sizeof(_RigidDynamicBodyInOut)); - int toadd_count = 0; //state->get_contact_count(); + int toadd_count = 0; RigidDynamicBody3D_RemoveAction *toremove = (RigidDynamicBody3D_RemoveAction *)alloca(rc * sizeof(RigidDynamicBody3D_RemoveAction)); int toremove_count = 0; @@ -537,8 +537,6 @@ void RigidDynamicBody3D::_body_state_changed(PhysicsDirectBodyState3D *p_state) int local_shape = p_state->get_contact_local_shape(i); int shape = p_state->get_contact_collider_shape(i); - //bool found=false; - HashMap<ObjectID, BodyState>::Iterator E = contact_monitor->body_map.find(obj); if (!E) { toadd[toadd_count].rid = rid; |