diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-12-24 03:05:56 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-12-24 03:05:56 +0300 |
commit | a65fabc553e817a3bfe5b27acf725065506e5b62 (patch) | |
tree | 367695038501eeeefb09894ae09841dbef741f2f /source/blender/editors/animation/keyframes_edit.c | |
parent | 1062946cad265ea532cc44b1bbf1e593b3a86169 (diff) |
2.5 - Action Editor
Select Left/Right (Alt-Select) works again.
Fixed compiling errors from previous commit.
Diffstat (limited to 'source/blender/editors/animation/keyframes_edit.c')
-rw-r--r-- | source/blender/editors/animation/keyframes_edit.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/source/blender/editors/animation/keyframes_edit.c b/source/blender/editors/animation/keyframes_edit.c index 951e91dc55a..278e216535b 100644 --- a/source/blender/editors/animation/keyframes_edit.c +++ b/source/blender/editors/animation/keyframes_edit.c @@ -32,6 +32,7 @@ #include "BLI_blenlib.h" #include "BLI_arithb.h" +#include "DNA_action_types.h" #include "DNA_curve_types.h" #include "DNA_ipo_types.h" #include "DNA_key_types.h" @@ -44,6 +45,7 @@ #include "BKE_key.h" #include "BKE_utildefines.h" +#include "ED_anim_api.h" #include "ED_keyframes_edit.h" #include "ED_markers.h" @@ -67,6 +69,8 @@ // FIXME: it would be useful to be able to supply custom properties to the bezt function... // workaround for those callbacks that need this now, is to set globals... +/* --------------------------- Base Functions ------------------------------------ */ + /* This function is used to loop over BezTriples in the given IpoCurve, applying a given * operation on them, and optionally applies an IPO-curve validate function afterwards. */ @@ -111,6 +115,21 @@ short ipo_keys_bezier_loop(Scene *scene, Ipo *ipo, BeztEditFunc bezt_cb, IcuEdit return 0; } +/* This function is used to loop over the channels in an Action Group to modify the IPO blocks within them */ +short actgroup_keys_bezier_loop(Scene *scene, bActionGroup *agrp, BeztEditFunc bezt_cb, IcuEditFunc icu_cb) +{ + +} + +/* -------------------------------- Further Abstracted ----------------------------- */ + +/* this function is called to apply the same operation to all types of channels */ +short animchannel_keys_bezier_loop(Scene *scene, bAnimListElem *ale, BeztEditFunc bezt_cb, IcuEditFunc icu_cb) +{ + +} + + /* ******************************************* */ /* Transform */ |