summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-12-03 19:47:18 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-12-03 19:47:18 +0000
commitced8d4f56dfeb98b03c3597e685efaf7bc51f295 (patch)
tree2116709035d6ca0b219cb4af5eb10c0436fa413a /legacy
parent46d4358209ca9e74d77b1580525e309427636411 (diff)
ephysics: fix debug msgs at some functions
Broken in r77467 SVN revision: 80098
Diffstat (limited to 'legacy')
-rw-r--r--legacy/ephysics/src/lib/ephysics_body.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/ephysics/src/lib/ephysics_body.cpp b/legacy/ephysics/src/lib/ephysics_body.cpp
index 12dd0209bb..72439aa326 100644
--- a/legacy/ephysics/src/lib/ephysics_body.cpp
+++ b/legacy/ephysics/src/lib/ephysics_body.cpp
@@ -3605,6 +3605,7 @@ ephysics_body_event_callback_del_full(EPhysics_Body *body, EPhysics_Callback_Bod
3605static void 3605static void
3606_ephysics_body_restitution_set(EPhysics_Body *body, double restitution) 3606_ephysics_body_restitution_set(EPhysics_Body *body, double restitution)
3607{ 3607{
3608 DBG("Body %p restitution set to %lf", body, restitution);
3608 if (body->type == EPHYSICS_BODY_TYPE_RIGID) 3609 if (body->type == EPHYSICS_BODY_TYPE_RIGID)
3609 { 3610 {
3610 body->rigid_body->setRestitution(btScalar(restitution)); 3611 body->rigid_body->setRestitution(btScalar(restitution));
@@ -3612,7 +3613,6 @@ _ephysics_body_restitution_set(EPhysics_Body *body, double restitution)
3612 } 3613 }
3613 3614
3614 body->soft_body->setRestitution(btScalar(restitution)); 3615 body->soft_body->setRestitution(btScalar(restitution));
3615 DBG("Body %p restitution set to %lf", body, restitution);
3616} 3616}
3617 3617
3618EAPI void 3618EAPI void
@@ -3648,6 +3648,7 @@ ephysics_body_restitution_get(const EPhysics_Body *body)
3648static void 3648static void
3649_ephysics_body_friction_set(EPhysics_Body *body, double friction) 3649_ephysics_body_friction_set(EPhysics_Body *body, double friction)
3650{ 3650{
3651 DBG("Body %p friction set to %lf", body, friction);
3651 if (body->type == EPHYSICS_BODY_TYPE_RIGID) 3652 if (body->type == EPHYSICS_BODY_TYPE_RIGID)
3652 { 3653 {
3653 body->rigid_body->setFriction(btScalar(friction)); 3654 body->rigid_body->setFriction(btScalar(friction));
@@ -3655,7 +3656,6 @@ _ephysics_body_friction_set(EPhysics_Body *body, double friction)
3655 } 3656 }
3656 3657
3657 body->soft_body->setFriction(btScalar(friction)); 3658 body->soft_body->setFriction(btScalar(friction));
3658 DBG("Body %p friction set to %lf", body, friction);
3659} 3659}
3660 3660
3661EAPI void 3661EAPI void