diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2020-12-31 17:48:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-31 17:48:19 +0100 |
commit | 36c943260ed40c6e31a6ecff7f6e1674714b4fcb (patch) | |
tree | 80a7ba40a5a7d4128f935aa9519aec2aa5c9bc30 /modules/bullet | |
parent | 41e9028868e49669de83c82ba20fd9dcef0d1b8b (diff) | |
parent | 026aa4381d39318f66cfccaa0345403bc80ddeb8 (diff) |
Merge pull request #44703 from madmiraal/fix-44510
Add signal to inform joint that body has exited tree
Diffstat (limited to 'modules/bullet')
-rw-r--r-- | modules/bullet/space_bullet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/bullet/space_bullet.cpp b/modules/bullet/space_bullet.cpp index 196bfa65d7..60d76a67a2 100644 --- a/modules/bullet/space_bullet.cpp +++ b/modules/bullet/space_bullet.cpp @@ -482,7 +482,7 @@ void SpaceBullet::remove_rigid_body(RigidBodyBullet *p_body) { int constraints = btBody->getNumConstraintRefs(); if (constraints > 0) { - WARN_PRINT("A body connected to joints was removed. Ensure bodies are disconnected from joints before removing them."); + ERR_PRINT("A body connected to joints was removed."); for (int i = 0; i < constraints; i++) { dynamicsWorld->removeConstraint(btBody->getConstraintRef(i)); } |