Red-Black Tree Code Cleanups:
authorJoshua Leung <aligorith@gmail.com>
Sun, 15 Nov 2009 11:20:44 +0000 (11:20 +0000)
committerJoshua Leung <aligorith@gmail.com>
Sun, 15 Nov 2009 11:20:44 +0000 (11:20 +0000)
commit6468f21ddf25298f5b9d1c52955e185b368f496c
treea0401bd947c2f4b54a3cd797c33cd1dbcdd9f56e
parent698086dfb1b3d5796115afed238b6d9225576ad8
Red-Black Tree Code Cleanups:

Added some more methods for the Red-Black Tree implementation in Blender (used for runtime viewing and searching of keyframes) which abstract away some of the lower-level handling of the BST (i.e. adding nodes without balancing and searching for nodes).

Also, improved the implementation of the jump next/prev keyframe operator so that it pops up an error message when the last keyframe in whatever direction is encountered.
source/blender/blenlib/BLI_dlrbTree.h
source/blender/blenlib/intern/DLRB_tree.c
source/blender/editors/animation/keyframes_draw.c
source/blender/editors/armature/poseSlide.c
source/blender/editors/include/ED_keyframes_draw.h
source/blender/editors/screen/screen_ops.c