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:
-rw-r--r--intern/rigidbody/RBI_api.h2
-rw-r--r--source/blender/blenkernel/intern/rigidbody.c2
2 files changed, 2 insertions, 2 deletions
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];