Graph Editor: Restoring most tools
authorJoshua Leung <aligorith@gmail.com>
Wed, 28 Jan 2009 09:55:36 +0000 (09:55 +0000)
committerJoshua Leung <aligorith@gmail.com>
Wed, 28 Jan 2009 09:55:36 +0000 (09:55 +0000)
commit5b14573d0b702f08a656b04285a7a8281cdbdca5
tree25652e71f163a0139358b82ca892231603712be1
parent9e8a60c79640a2cf744206d1c5e539dcb164647b
Graph Editor: Restoring most tools

* Copy/Paste still needs to be cleaned up to be functional. Auto-set preview range + View All also need some work to become functional...
* Smooth has been moved to Alt-O hotkey, as Shift-O was taken for Sample
* Renamed a few operators for DopeSheet to be more in line with Graph Editor ones, and to be less obscure.
* The 'join' and 'remove doubles' tools are not likely to be restored. I think that a few of the new tools cover this lack anyway. We can restore them if there is a real need.

* Record tool needs a rethink to be genuinely useful, so it's not included here anymore.
A note for anyone wanting to play with implementing this: store the sampled points using the new FPoint type in the FCurve instead of using BezTriples, as FPoints are used for storing sampled/baked data.
source/blender/editors/animation/keyframes_general.c
source/blender/editors/include/ED_keyframes_edit.h
source/blender/editors/space_action/action_edit.c
source/blender/editors/space_action/action_intern.h
source/blender/editors/space_action/action_ops.c
source/blender/editors/space_ipo/ipo_edit.c
source/blender/editors/space_ipo/ipo_intern.h
source/blender/editors/space_ipo/ipo_ops.c
source/blender/editors/transform/transform_conversions.c
source/blender/editors/transform/transform_generics.c