diff options
author | Christoph Lendenfeld <chris.lend@gmx.at> | 2021-12-25 22:58:47 +0300 |
---|---|---|
committer | Christoph Lendenfeld <chris.lend@gmx.at> | 2021-12-25 22:58:47 +0300 |
commit | f7ddb1ed8a2a646e3d04d5e2e46929673084149c (patch) | |
tree | d84ae6df91d7935a61c3737605820382dd8d9929 /source/blender/editors/include | |
parent | fbd01624e3feb10add9d04672a3db0f52817423a (diff) |
Breakdown Implementation
This patch adds the breakdown (or tween) functionality to the graph editor.
The factor defines the linear interpolation from left key to right key.
Reviewed by: Sybren A. Stüvel
Differential Revision: https://developer.blender.org/D9375
Ref: D9375
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_keyframes_edit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_keyframes_edit.h b/source/blender/editors/include/ED_keyframes_edit.h index 084da038604..c54fb93e495 100644 --- a/source/blender/editors/include/ED_keyframes_edit.h +++ b/source/blender/editors/include/ED_keyframes_edit.h @@ -392,6 +392,9 @@ void clean_fcurve(struct bAnimContext *ac, void blend_to_neighbor_fcurve_segment(struct FCurve *fcu, struct FCurveSegment *segment, const float factor); +void breakdown_fcurve_segment(struct FCurve *fcu, + struct FCurveSegment *segment, + const float factor); bool decimate_fcurve(struct bAnimListElem *ale, float remove_ratio, float error_sq_max); /** * Use a weighted moving-means method to reduce intensity of fluctuations. |