aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ephysics/src/lib
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/ephysics/src/lib
parent46d4358209ca9e74d77b1580525e309427636411 (diff)
downloadefl-ced8d4f56dfeb98b03c3597e685efaf7bc51f295.tar.gz
efl-ced8d4f56dfeb98b03c3597e685efaf7bc51f295.tar.xz
efl-ced8d4f56dfeb98b03c3597e685efaf7bc51f295.zip
ephysics: fix debug msgs at some functions
Broken in r77467 SVN revision: 80098
Diffstat (limited to 'legacy/ephysics/src/lib')
-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 12dd0209b..72439aa32 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
static void
_ephysics_body_restitution_set(EPhysics_Body *body, double restitution)
{
+ DBG("Body %p restitution set to %lf", body, restitution);
if (body->type == EPHYSICS_BODY_TYPE_RIGID)
{
body->rigid_body->setRestitution(btScalar(restitution));
@@ -3612,7 +3613,6 @@ _ephysics_body_restitution_set(EPhysics_Body *body, double restitution)
}
body->soft_body->setRestitution(btScalar(restitution));
- DBG("Body %p restitution set to %lf", body, restitution);
}
EAPI void
@@ -3648,6 +3648,7 @@ ephysics_body_restitution_get(const EPhysics_Body *body)
static void
_ephysics_body_friction_set(EPhysics_Body *body, double friction)
{
+ DBG("Body %p friction set to %lf", body, friction);
if (body->type == EPHYSICS_BODY_TYPE_RIGID)
{
body->rigid_body->setFriction(btScalar(friction));
@@ -3655,7 +3656,6 @@ _ephysics_body_friction_set(EPhysics_Body *body, double friction)
}
body->soft_body->setFriction(btScalar(friction));
- DBG("Body %p friction set to %lf", body, friction);
}
EAPI void