Blender Git Commit Log

Git Commits -> Revision 5e6c7de

Revision 5e6c7de by Sybren A. Stüvel (master)
October 12, 2020, 15:00 (GMT)
Animation: enforce that the active keyframe is always selected

Check selection state in `BKE_fcurve_active_keyframe_index()`, and only
return the active keyframe index when that keyframe is actually selected.
This is now also asserted in the `BKE_fcurve_active_keyframe_set()` function,
which is now also used when inserting a keyframe.

Commit Details:

Full Hash: 5e6c7de3e918f7ecbf4ea898f6e5b8a2373ad17e
Parent Commit: 0d3e192
Lines Changed: +13, -3

3 Modified Paths:

/source/blender/blenkernel/intern/fcurve.c (+9, -1) (Diff)
/source/blender/editors/animation/keyframing.c (+1, -2) (Diff)
/source/blender/makesdna/DNA_anim_types.h (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021