diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-06 17:58:19 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-06 17:58:19 +0300 |
commit | 843922a480ad9edb388cb3e1c6949b77ae8f2eac (patch) | |
tree | a861323cb749f7bbc16eca33cd06a2fbe802d577 /source/blender/blenkernel/intern/rigidbody.c | |
parent | 035b340f4824db7afe93d9e4e237920503ef5619 (diff) |
Depsgraph: Prefer use anonymous structs for unused arguments
Diffstat (limited to 'source/blender/blenkernel/intern/rigidbody.c')
-rw-r--r-- | source/blender/blenkernel/intern/rigidbody.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c index 30ee2a09bbe..6618b307b63 100644 --- a/source/blender/blenkernel/intern/rigidbody.c +++ b/source/blender/blenkernel/intern/rigidbody.c @@ -65,8 +65,6 @@ #include "BKE_rigidbody.h" #include "BKE_scene.h" -#include "DEG_depsgraph.h" - /* ************************************** */ /* Memory Management */ @@ -1653,7 +1651,7 @@ void BKE_rigidbody_do_simulation(Scene *scene, float ctime) {} /* -------------------- */ /* Depsgraph evaluation */ -void BKE_rigidbody_rebuild_sim(EvaluationContext *UNUSED(eval_ctx), +void BKE_rigidbody_rebuild_sim(struct EvaluationContext *UNUSED(eval_ctx), Scene *scene) { float ctime = BKE_scene_frame_get(scene); @@ -1668,7 +1666,7 @@ void BKE_rigidbody_rebuild_sim(EvaluationContext *UNUSED(eval_ctx), } } -void BKE_rigidbody_eval_simulation(EvaluationContext *UNUSED(eval_ctx), +void BKE_rigidbody_eval_simulation(struct EvaluationContext *UNUSED(eval_ctx), Scene *scene) { float ctime = BKE_scene_frame_get(scene); @@ -1683,7 +1681,7 @@ void BKE_rigidbody_eval_simulation(EvaluationContext *UNUSED(eval_ctx), } } -void BKE_rigidbody_object_sync_transforms(EvaluationContext *UNUSED(eval_ctx), +void BKE_rigidbody_object_sync_transforms(struct EvaluationContext *UNUSED(eval_ctx), Scene *scene, Object *ob) { |