Blender Git Commit Log

Git Commits -> Revision da8f16e

Revision da8f16e by Bastien Montagne (master)
January 16, 2015, 16:26 (GMT)
FCurve RNA API: add funcs to convert to samples/to keyframes.

So far, we had an operator to 'bake' keyframe curves into samples, but no
way to make the fcurve editable again (i.e. to convert it back into a keyframes one).

Needed to fix mocap addon (see T43259).

Also, fixed a glitch in `fcurve_store_samples()`, since given end frame is included in range,
it is valid to give same start and end frame (in case you want a single point in samples,
not much practical cases, but...).

Commit Details:

Full Hash: da8f16e288d667e8b8c487b3192f962d71dec3aa
Parent Commit: 913e2ba
Lines Changed: +114, -1

4 Modified Paths:

/source/blender/blenkernel/intern/fcurve.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_fcurve_api.c (+108, -0) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021