[Bf-blender-cvs] [f3e8326453a] master: Cleanup: fix function signature

Jacques Lucke noreply at git.blender.org
Fri Jul 31 10:13:41 CEST 2020


Commit: f3e8326453ae856d7914e45e832a2ed80aa9a9b9
Author: Jacques Lucke
Date:   Fri Jul 31 10:13:33 2020 +0200
Branches: master
https://developer.blender.org/rBf3e8326453ae856d7914e45e832a2ed80aa9a9b9

Cleanup: fix function signature

===================================================================

M	intern/rigidbody/RBI_api.h
M	source/blender/blenkernel/intern/rigidbody.c

===================================================================

diff --git a/intern/rigidbody/RBI_api.h b/intern/rigidbody/RBI_api.h
index 199e9f6f197..07cda49e04b 100644
--- a/intern/rigidbody/RBI_api.h
+++ b/intern/rigidbody/RBI_api.h
@@ -240,7 +240,7 @@ rbCollisionShape *RB_shape_new_gimpact_mesh(rbMeshData *mesh);
 
 /* Compound Shape ---------------- */
 
-rbCollisionShape *RB_shape_new_compound();
+rbCollisionShape *RB_shape_new_compound(void);
 void RB_compound_add_child_shape(rbCollisionShape *collisionShape,
                                  rbCollisionShape *shape,
                                  const float loc[3],
diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c
index 481a643229e..7c335a8e98c 100644
--- a/source/blender/blenkernel/intern/rigidbody.c
+++ b/source/blender/blenkernel/intern/rigidbody.c
@@ -551,7 +551,7 @@ static rbCollisionShape *rigidbody_validate_sim_shape_helper(RigidBodyWorld *rbw
       new_shape = rigidbody_get_shape_trimesh_from_mesh(ob);
       break;
     case RB_SHAPE_COMPOUND:
-      new_shape = RB_shape_new_compound(radius);
+      new_shape = RB_shape_new_compound();
       rbCollisionShape *childShape = NULL;
       float loc[3], rot[4];
       float mat[4][4];



More information about the Bf-blender-cvs mailing list