2.5 - Constraints Editing + Keyframe Drawing Tweaks
authorJoshua Leung <aligorith@gmail.com>
Mon, 20 Jul 2009 12:42:31 +0000 (12:42 +0000)
committerJoshua Leung <aligorith@gmail.com>
Mon, 20 Jul 2009 12:42:31 +0000 (12:42 +0000)
commitcc69f1301387ea920a225b6eb49283e3c03e1b06
treec37efd91a68d9ff93b8339690340ee11d013066d
parent8bf9a8cb1e18dc784835db5fd869ad14469053a5
2.5 - Constraints Editing + Keyframe Drawing Tweaks

Constraints:
* Adding constraints with targets should now work.
-- (When no target is provided, the code to create a new target is not yet in place again yet)
* Constraints can be added in Object and PoseModes again using the Ctrl-Shift-C hotkey.
* All constraints can now be cleared from the active Object or selected Bones using the Ctrl-Alt-C hotkey.
* Added warnings when adding constraints invalid for the current context, and removed the old add_constraint() function.
* Buttons window updates correctly after adding keyframes now

Keyframes Drawing:
* Removed un-necessary extra function-call for RB-Tree implementation, by inlining a special one-off case.
* Keyframe diamonds which are not within the viewable area are now not drawn (but filtering will still need to find them).
source/blender/blenlib/intern/DLRB_tree.c
source/blender/editors/animation/keyframes_draw.c
source/blender/editors/armature/armature_ops.c
source/blender/editors/object/editconstraint.c
source/blender/editors/object/object_intern.h
source/blender/editors/object/object_ops.c
source/blender/editors/space_buttons/space_buttons.c
source/blender/editors/space_view3d/view3d_header.c