Blender Git Loki

Git Commits -> Revision 6f50969

Revision 6f50969 by Jeroen Bakker (master)
August 3, 2021, 06:10 (GMT)
Cleanup: Hide implementation details for ED_keyframe_keylist.

For T78995 we want to change the data structure of keylists to
improve performance. (Probably a Vector with bin-search capabilities).

This patch hides the internal structure of the keylists behind `AnimKeylist`
structure. This allows us to change the internals without 'breaking' where it is
being used.

The change adds functions to create, free, find and walk over the
keylist.

Reviewed By: sybren

Maniphest Tasks: T78995

Differential Revision: https://developer.blender.org/D11974

Commit Details:

Full Hash: 6f50969406a751ac69d41e792d859d74410ebef6
Parent Commit: ebd55b4
Lines Changed: +364, -265

1 Added Path:

/source/blender/blenlib/BLI_range.h (+34, -0) (View)

11 Modified Paths:

/source/blender/blenlib/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/animation/anim_draw.c (+9, -12) (Diff)
/source/blender/editors/animation/anim_motion_paths.c (+32, -31) (Diff)
/source/blender/editors/animation/keyframes_draw.c (+39, -59) (Diff)
/source/blender/editors/animation/keyframes_keylist.c (+123, -45) (Diff)
/source/blender/editors/armature/pose_lib.c (+4, -6) (Diff)
/source/blender/editors/armature/pose_slide.c (+50, -58) (Diff)
/source/blender/editors/include/ED_keyframes_keylist.h (+25, -10) (Diff)
/source/blender/editors/screen/screen_ops.c (+8, -9) (Diff)
/source/blender/editors/space_action/action_select.c (+23, -25) (Diff)
/source/blender/editors/space_nla/nla_draw.c (+16, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021