[Bf-blender-cvs] [a3d0f77ded1] master: Cleanup: Remove unused function arguments
Sergey Sharybin
noreply at git.blender.org
Wed Jun 22 10:55:22 CEST 2022
Commit: a3d0f77ded1c982da93d61fac6942cfc67c9e599
Author: Sergey Sharybin
Date: Wed Jun 22 10:54:45 2022 +0200
Branches: master
https://developer.blender.org/rBa3d0f77ded1c982da93d61fac6942cfc67c9e599
Cleanup: Remove unused function arguments
Solves the corresponding compiler warning.
===================================================================
M source/blender/blenkernel/intern/rigidbody.c
===================================================================
diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c
index ea2f3c2186e..821976f8e0e 100644
--- a/source/blender/blenkernel/intern/rigidbody.c
+++ b/source/blender/blenkernel/intern/rigidbody.c
@@ -1660,8 +1660,7 @@ static void rigidbody_update_sim_world(Scene *scene, RigidBodyWorld *rbw)
rigidbody_update_ob_array(rbw);
}
-static void rigidbody_update_sim_ob(
- Depsgraph *depsgraph, Scene *scene, RigidBodyWorld *rbw, Object *ob, RigidBodyOb *rbo)
+static void rigidbody_update_sim_ob(Depsgraph *depsgraph, Object *ob, RigidBodyOb *rbo)
{
/* only update if rigid body exists */
if (rbo->shared->physics_object == NULL) {
@@ -1806,7 +1805,7 @@ static void rigidbody_update_simulation(Depsgraph *depsgraph,
rbo->flag &= ~(RBO_FLAG_NEEDS_VALIDATE | RBO_FLAG_NEEDS_RESHAPE);
/* update simulation object... */
- rigidbody_update_sim_ob(depsgraph, scene, rbw, ob, rbo);
+ rigidbody_update_sim_ob(depsgraph, ob, rbo);
}
}
FOREACH_COLLECTION_OBJECT_RECURSIVE_END;
More information about the Bf-blender-cvs
mailing list