Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2008-12-29 04:19:25 +0300
committerJoshua Leung <aligorith@gmail.com>2008-12-29 04:19:25 +0300
commit97a82102d4d24a94d8360a6f5f054e44f6fb1993 (patch)
treef204580537752d9aa602aaaae66246affe042f66 /source/blender/editors/include/ED_keyframes_edit.h
parent87cae4caed35c50b2ef70fb104d6f057670eb94e (diff)
2.5 - Action Editor / Animation Stuff:
* Brought back clean (OKEY), sample (Shift-OKEY), and delete (XKEY/DELKEY) tools for the Action Editor. Currently clean uses a predefined threshold (as a rna-prop, though it's still lacking the popup to set this when it is called) * Added new file for 'destructive' keyframe operations/tools. * Got keyframing.c compiling. Now, some of these tools need to be operatorised. Also, the API there might change when enough of the system is stable for RNA-IPO work to take place (so that it can be tested).
Diffstat (limited to 'source/blender/editors/include/ED_keyframes_edit.h')
-rw-r--r--source/blender/editors/include/ED_keyframes_edit.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_keyframes_edit.h b/source/blender/editors/include/ED_keyframes_edit.h
index 3b553320f32..75faaf85d14 100644
--- a/source/blender/editors/include/ED_keyframes_edit.h
+++ b/source/blender/editors/include/ED_keyframes_edit.h
@@ -83,7 +83,7 @@ typedef enum eEditKeyframes_Mirror {
} eEditKeyframes_Mirror;
/* ************************************************ */
-/* Editing API */
+/* Non-Destuctive Editing API (keyframes_edit.c) */
/* --- Generic Properties for Bezier Edit Tools ----- */
@@ -129,9 +129,20 @@ BeztEditFunc ANIM_editkeyframes_ipo(short mode);
void ANIM_editkeyframes_ipocurve_ipotype(struct IpoCurve *icu);
/* ************************************************ */
+/* Destructive Editing API (keyframes_general.c) */
+
+void delete_icu_key(struct IpoCurve *icu, int index, short do_recalc);
+void delete_ipo_keys(struct Ipo *ipo);
+void duplicate_ipo_keys(struct Ipo *ipo);
+
+void clean_ipo_curve(struct IpoCurve *icu, float thresh);
+void smooth_ipo_curve(struct IpoCurve *icu, short mode);
+
+/* ************************************************ */
// XXX all of these funcs should be depreceated or at least renamed!
+/* in keyframes_edit.c */
short is_ipo_key_selected(struct Ipo *ipo);
void set_ipo_key_selection(struct Ipo *ipo, short sel);