Blender Git Commit Log
Git Commits -> Revision a0dfa32
Revision a0dfa32 by Alexander Gavrilov (master) October 29, 2018, 19:04 (GMT) |
Dope Sheet: new option to display keyframe interpolation mode and extremes. With the new automatic handle algorithm, it is possible to do a lot of the animation via keyframes without touching the curves. It is however necessary to change the keyframe interpolation and handle types in certain cases. Currently the dopesheet/action editor allows changing the types, but does not show them in any way. To fix, add a new menu option to display this information. For handle type, it is represented using the shape of the key icons: diamond for Free, clipped diamond for Aligned, square for Vector, circle for Auto Clamp, and cirle with dot for Automatic. Non-bezier interpolation is a property of intervals between keys, so it is marked by drawing lines, similar to holds. In this initial version, only the fact of non-bezier interpolation is displayed, without distinguishing types. For summaries, the line is drawn at half alpha if not all curves in the group are non-bezier. In addition, it is sometimes helpful to know the general direction of change of the curve, and which keys are extremes. This commit also adds an option to highlight extremes, based on comparing the keyed values with adjacent keys. Half-intensity display is used for overshot bezier extremes, or non-uniform summaries. Reviewers: brecht, aligorith, billreynish Differential Revision: https://developer.blender.org/D3788 |
Commit Details:
Full Hash: a0dfa320cddd8396911058bae7c3a0eb52e7f2ee
Parent Commit: b18ac77
Lines Changed: +569, -162
26 Modified Paths:
/release/datafiles/userdef/userdef_default_theme.c (+1, -0) (Diff)
/release/scripts/startup/bl_ui/space_dopesheet.py (+2, -0) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim.c (+4, -4) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+4, -0) (Diff)
/source/blender/editors/animation/anim_draw.c (+2, -2) (Diff)
/source/blender/editors/animation/keyframes_draw.c (+242, -54) (Diff)
/source/blender/editors/armature/pose_lib.c (+1, -1) (Diff)
/source/blender/editors/armature/pose_slide.c (+2, -2) (Diff)
/source/blender/editors/include/ED_keyframes_draw.h (+49, -17) (Diff)
/source/blender/editors/include/UI_icons.h (+6, -0) (Diff)
/source/blender/editors/include/UI_resources.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_icons.c (+48, -12) (Diff)
/source/blender/editors/interface/resources.c (+3, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+2, -2) (Diff)
/source/blender/editors/space_action/action_draw.c (+8, -8) (Diff)
/source/blender/editors/space_action/action_select.c (+6, -6) (Diff)
/source/blender/editors/space_clip/clip_dopesheet_draw.c (+3, -0) (Diff)
/source/blender/editors/space_nla/nla_draw.c (+7, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_keyframe_diamond_frag.glsl (+82, -26) (Diff)
/source/blender/gpu/shaders/gpu_shader_keyframe_diamond_vert.glsl (+65, -16) (Diff)
/source/blender/makesdna/DNA_action_types.h (+5, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_space.c (+12, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+6, -0) (Diff)
/release/scripts/startup/bl_ui/space_dopesheet.py (+2, -0) (Diff)
/source/blender/blenkernel/BKE_blender_version.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim.c (+4, -4) (Diff)
/source/blender/blenloader/intern/versioning_userdef.c (+4, -0) (Diff)
/source/blender/editors/animation/anim_draw.c (+2, -2) (Diff)
/source/blender/editors/animation/keyframes_draw.c (+242, -54) (Diff)
/source/blender/editors/armature/pose_lib.c (+1, -1) (Diff)
/source/blender/editors/armature/pose_slide.c (+2, -2) (Diff)
/source/blender/editors/include/ED_keyframes_draw.h (+49, -17) (Diff)
/source/blender/editors/include/UI_icons.h (+6, -0) (Diff)
/source/blender/editors/include/UI_resources.h (+1, -0) (Diff)
/source/blender/editors/interface/interface_icons.c (+48, -12) (Diff)
/source/blender/editors/interface/resources.c (+3, -0) (Diff)
/source/blender/editors/screen/screen_ops.c (+2, -2) (Diff)
/source/blender/editors/space_action/action_draw.c (+8, -8) (Diff)
/source/blender/editors/space_action/action_select.c (+6, -6) (Diff)
/source/blender/editors/space_clip/clip_dopesheet_draw.c (+3, -0) (Diff)
/source/blender/editors/space_nla/nla_draw.c (+7, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_keyframe_diamond_frag.glsl (+82, -26) (Diff)
/source/blender/gpu/shaders/gpu_shader_keyframe_diamond_vert.glsl (+65, -16) (Diff)
/source/blender/makesdna/DNA_action_types.h (+5, -1) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+5, -5) (Diff)
/source/blender/makesrna/intern/rna_space.c (+12, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+6, -0) (Diff)