summaryrefslogtreecommitdiff
path: root/modules/bullet
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2020-12-31 17:48:19 +0100
committerGitHub <noreply@github.com>2020-12-31 17:48:19 +0100
commit36c943260ed40c6e31a6ecff7f6e1674714b4fcb (patch)
tree80a7ba40a5a7d4128f935aa9519aec2aa5c9bc30 /modules/bullet
parent41e9028868e49669de83c82ba20fd9dcef0d1b8b (diff)
parent026aa4381d39318f66cfccaa0345403bc80ddeb8 (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.cpp2
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));
}