Blender Git Loki
Git Commits -> Revision 983ad42
Revision 983ad42 by Hans Goudey (master) October 7, 2020, 13:27 (GMT) |
Fix T76595: Indicate the Active Keyframe in Graph Editor In the graph editor there is a panel that says "Active Keyframe" for numerically editing a keyframe's values, but in the code there is no concept of the "active keyframe." Since this is a useful concept to have for some other features anyway, this commit adds an active keyframe index value to FCurves. It also displays it with a theme color for the active vertex (which didn't exist before) if the FCurve is active. The active keyframe in the graph editor is treated similarly to the active vertex in the 3D view. It is the keyframe most recently selected with a single click, and it is always selected. For now, the only real functional change is that the active keyframe appears in white and it should be more predictable which keyframe is being edited in the sidebar panel. Differential Revision: https://developer.blender.org/D7737 |
Commit Details:
Full Hash: 983ad4210b9e3dc6fe98553e686b213423e00fa1
Parent Commit: ef235b0
Lines Changed: +191, -31
15 Modified Paths:
/release/datafiles/userdef/userdef_default_theme.c (+1, -0) (Diff)
/source/blender/blenkernel/BKE_fcurve.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+32, -0) (Diff)
/source/blender/blenkernel/intern/fcurve_test.cc (+35, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+2, -0) (Diff)
/source/blender/editors/animation/keyframes_general.c (+3, -0) (Diff)
/source/blender/editors/animation/keyframing.c (+2, -0) (Diff)
/source/blender/editors/include/UI_resources.h (+1, -0) (Diff)
/source/blender/editors/interface/resources.c (+3, -0) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+11, -24) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+73, -0) (Diff)
/source/blender/editors/space_graph/graph_select.c (+8, -4) (Diff)
/source/blender/makesdna/DNA_anim_types.h (+9, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+5, -0) (Diff)
/source/blender/blenkernel/BKE_fcurve.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/fcurve.c (+32, -0) (Diff)
/source/blender/blenkernel/intern/fcurve_test.cc (+35, -0) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+2, -0) (Diff)
/source/blender/editors/animation/keyframes_general.c (+3, -0) (Diff)
/source/blender/editors/animation/keyframing.c (+2, -0) (Diff)
/source/blender/editors/include/UI_resources.h (+1, -0) (Diff)
/source/blender/editors/interface/resources.c (+3, -0) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+11, -24) (Diff)
/source/blender/editors/space_graph/graph_draw.c (+73, -0) (Diff)
/source/blender/editors/space_graph/graph_select.c (+8, -4) (Diff)
/source/blender/makesdna/DNA_anim_types.h (+9, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+5, -0) (Diff)