diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-31 07:04:25 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-31 10:46:21 +0300 |
commit | e4afccf3888d0b4a2d96e3ff1616c8f0628a1754 (patch) | |
tree | 672c9a60fedecfac87f3eba0f85b06de75b2183f /source/blender/blenkernel/BKE_animsys.h | |
parent | e910765ad044084ba65a5b8f158a6b1c307fbb6f (diff) |
Depsgraph: optimization of driver evaluation with many drivers.
Diffstat (limited to 'source/blender/blenkernel/BKE_animsys.h')
-rw-r--r-- | source/blender/blenkernel/BKE_animsys.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_animsys.h b/source/blender/blenkernel/BKE_animsys.h index 8b71d97c0e5..2aa939c8b63 100644 --- a/source/blender/blenkernel/BKE_animsys.h +++ b/source/blender/blenkernel/BKE_animsys.h @@ -33,6 +33,7 @@ struct AnimData; struct AnimMapper; +struct ChannelDriver; struct FCurve; struct ID; struct KS_Path; @@ -202,7 +203,9 @@ void animsys_evaluate_action_group(struct PointerRNA *ptr, struct bAction *act, struct Depsgraph; void BKE_animsys_eval_animdata(struct Depsgraph *depsgraph, struct ID *id); -void BKE_animsys_eval_driver(struct Depsgraph *depsgraph, struct ID *id, struct FCurve *fcurve); +void BKE_animsys_eval_driver(struct Depsgraph *depsgraph, struct ID *id, int driver_index, struct ChannelDriver *driver_orig); + +void BKE_animsys_update_driver_array(struct ID *id); /* ************************************* */ |