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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-07-21 05:01:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-21 10:29:23 +0300
commit23831b2161f807a35002fc0cab46eb4c8bbceac8 (patch)
treebb271fe8ce3a82a48c61fc1f3d945c2e54096d0c /source/blender/blenkernel/intern/rigidbody.c
parentae00011956fc09266ea867857557536e97d1fffa (diff)
Cleanup: style
Diffstat (limited to 'source/blender/blenkernel/intern/rigidbody.c')
-rw-r--r--source/blender/blenkernel/intern/rigidbody.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c
index 882237d2ffb..476b9a22238 100644
--- a/source/blender/blenkernel/intern/rigidbody.c
+++ b/source/blender/blenkernel/intern/rigidbody.c
@@ -274,10 +274,10 @@ static rbCollisionShape *rigidbody_get_shape_trimesh_from_mesh(Object *ob)
if (ob->type == OB_MESH) {
DerivedMesh *dm = NULL;
MVert *mvert;
- const MLoopTri *looptri = NULL;
+ const MLoopTri *looptri;
int totvert;
- int tottri = 0;
- const MLoop *mloop = NULL;
+ int tottri;
+ const MLoop *mloop;
dm = rigidbody_get_mesh(ob);
@@ -596,8 +596,8 @@ void BKE_rigidbody_calc_center_of_mass(Object *ob, float r_center[3])
DerivedMesh *dm = rigidbody_get_mesh(ob);
MVert *mvert;
const MLoopTri *looptri;
- int totvert, tottri = 0;
- const MLoop* mloop = NULL;
+ int totvert, tottri;
+ const MLoop *mloop;
/* ensure mesh validity, then grab data */
if (dm == NULL)