summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-12-26 14:23:30 +0000
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-12-31 16:19:57 +0000
commit026aa4381d39318f66cfccaa0345403bc80ddeb8 (patch)
tree80a7ba40a5a7d4128f935aa9519aec2aa5c9bc30 /modules
parent41e9028868e49669de83c82ba20fd9dcef0d1b8b (diff)
Add signal to inform joint that body has exited tree
Diffstat (limited to 'modules')
-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));
}