summaryrefslogtreecommitdiffstats
path: root/modules/bullet
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-05-19 11:24:58 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-05-19 11:24:58 +0200
commitca3192d18abaa983fd3e8d5949ddc0ad1f1f88e6 (patch)
tree345ae04a473a971465e9bcf6eb5ef7c32a9ee2a3 /modules/bullet
parent74b5d6839aa2008ba5cf0b71be156cf41494e8b3 (diff)
downloadredot-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.cpp5
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) {