From f3e8326453ae856d7914e45e832a2ed80aa9a9b9 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Fri, 31 Jul 2020 10:13:33 +0200 Subject: Cleanup: fix function signature --- intern/rigidbody/RBI_api.h | 2 +- source/blender/blenkernel/intern/rigidbody.c | 2 +- 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]; -- cgit v1.2.3