projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code cleanup
[blender.git]
/
intern
/
rigidbody
/
rb_bullet_api.cpp
diff --git
a/intern/rigidbody/rb_bullet_api.cpp
b/intern/rigidbody/rb_bullet_api.cpp
index f3d159d67efea12bcf9cd85ae0e1eeb7f8722aec..17bb38179080fd6d6f8d8611604e70c3ee36096f 100644
(file)
--- a/
intern/rigidbody/rb_bullet_api.cpp
+++ b/
intern/rigidbody/rb_bullet_api.cpp
@@
-390,7
+390,7
@@
float RB_body_get_mass(rbRigidBody *object)
float value = (float)body->getInvMass();
if (value)
- value = 1.0 / value;
+ value = 1.0
f
/ value;
return value;
}