diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_fcurve.h')
-rw-r--r-- | source/blender/blenkernel/BKE_fcurve.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_fcurve.h b/source/blender/blenkernel/BKE_fcurve.h index f527f40d0d7..4569e68ea4a 100644 --- a/source/blender/blenkernel/BKE_fcurve.h +++ b/source/blender/blenkernel/BKE_fcurve.h @@ -248,6 +248,10 @@ bool BKE_fcurve_calc_bounds(struct FCurve *fcu, void BKE_fcurve_active_keyframe_set(struct FCurve *fcu, const struct BezTriple *active_bezt); int BKE_fcurve_active_keyframe_index(const struct FCurve *fcu); +/* Move the indexed keyframe to the given value, and move the handles with it to ensure the slope + * remains the same. */ +void BKE_fcurve_keyframe_move_value_with_handles(struct BezTriple *keyframe, float new_value); + /* .............. */ /* Are keyframes on F-Curve of any use (to final result, and to show in editors)? */ |