diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-19 11:24:58 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-19 11:24:58 +0200 |
commit | ca3192d18abaa983fd3e8d5949ddc0ad1f1f88e6 (patch) | |
tree | 345ae04a473a971465e9bcf6eb5ef7c32a9ee2a3 /modules/bullet | |
parent | 74b5d6839aa2008ba5cf0b71be156cf41494e8b3 (diff) | |
download | redot-engine-ca3192d18abaa983fd3e8d5949ddc0ad1f1f88e6.tar.gz |
Style: Fix unnecessary semicolons that confused clang-format
Diffstat (limited to 'modules/bullet')
-rw-r--r-- | modules/bullet/rigid_body_bullet.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/bullet/rigid_body_bullet.cpp b/modules/bullet/rigid_body_bullet.cpp index 2fca7fe633..9aac7ba9e4 100644 --- a/modules/bullet/rigid_body_bullet.cpp +++ b/modules/bullet/rigid_body_bullet.cpp @@ -445,11 +445,6 @@ void RigidBodyBullet::assert_no_constraints() { if (btBody->getNumConstraintRefs()) { WARN_PRINT("A body with a joints is destroyed. Please check the implementation in order to destroy the joint before the body."); } - /*for(int i = btBody->getNumConstraintRefs()-1; 0<=i; --i){ - btTypedConstraint* btConst = btBody->getConstraintRef(i); - JointBullet* joint = static_cast<JointBullet*>( btConst->getUserConstraintPtr() ); - space->removeConstraint(joint); - }*/ } void RigidBodyBullet::set_activation_state(bool p_active) { |