Blender Git Loki
Git Commits -> Revision e584bc3
Revision e584bc3 by Hans Goudey (temp-fcurve-active-keyframe-D7737) October 7, 2020, 10:46 (GMT) |
Fix T76595: Indicate the Active Keyframe in Graph Editor Currently there is a panel that says "Active Keyframe" for numerically editing one keyframe's values, but in the code there is no concept of the "active keyframe." This patch adds an "active keyframe index" to each FCurve, and displays it with a theme color for the active vertex (which didn't exist before) if the FCurve is active. {F8536092 size=full} The active keyframe is not currently set for select operations other than basic click-select, which mirrors the behavior in the 3D view. Reviewed By: Severin, looch Maniphest Tasks: T76595 Differential Revision: https://developer.blender.org/D7737 |
Commit Details:
Full Hash: e584bc320a9cf6be7a16fc159bb26b5ced5572fb
Parent Commit: 4bb15c8
Committed By: Sybren A. Stüvel
Lines Changed: +193, -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 (+34, -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 (+76, -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 (+34, -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 (+76, -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)