Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-07-18 05:54:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-07-18 05:55:59 +0400
commita04a8039f0880cd35f92853460eefd066d3d8ef8 (patch)
tree41b3c6e482d49166b7cf2f74f2575283c2f2fee2 /intern
parent6a58557794262e32c2ceb3d46bb41cc8104232df (diff)
Code cleanup
Diffstat (limited to 'intern')
-rw-r--r--intern/rigidbody/rb_bullet_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/rigidbody/rb_bullet_api.cpp b/intern/rigidbody/rb_bullet_api.cpp
index f3d159d67ef..17bb3817908 100644
--- 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.0f / value;
return value;
}