Blender Git Commit Log

Git Commits -> Revision 8b72d9c

Revision 8b72d9c by Sybren A. Stüvel (master)
October 5, 2020, 12:26 (GMT)
Insert keyframes while preserving shape of curve

Apply the De Casteljau algorithm to split the B�zier curve at the X
coordinate where the new key is inserted, and uses the result to update
both the newly inserted and surrounding handles.

For curves that use Auto keyframes this has been largely addressed by
the new algorithm from D2884. This commit extends this to non-auto
handles.

This code is heavily based on D3172 by Alexander Gavrilov (@angavrilov).

Manifest Task: https://developer.blender.org/T81353

Commit Details:

Full Hash: 8b72d9cc1530fb6fbd37b6a2e02aa61242f8d24a
Parent Commit: dfbf868
Lines Changed: +215, -23

4 Modified Paths:

/source/blender/blenkernel/BKE_fcurve.h (+12, -0) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+78, -8) (Diff)
/source/blender/blenkernel/intern/fcurve_test.cc (+63, -0) (Diff)
/source/blender/editors/animation/keyframing.c (+62, -15) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021