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:
authorTon Roosendaal <ton@blender.org>2006-11-07 21:34:32 +0300
committerTon Roosendaal <ton@blender.org>2006-11-07 21:34:32 +0300
commit2e93510a6b137487c89d35f09065f9f1cad81c72 (patch)
tree648f6383668fbbe2219f1e584982f506d1b95fab /source/blender/include
parenta221ddcf9bb44d81037fa1cff3fddb70e4e3f521 (diff)
Patch #5028. by Joshua Leung (aligorith)
Key snapping in Action Window, cleanup and added option to snap to current frame.
Diffstat (limited to 'source/blender/include')
-rw-r--r--source/blender/include/BIF_editaction.h4
-rw-r--r--source/blender/include/BSE_editipo.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/include/BIF_editaction.h b/source/blender/include/BIF_editaction.h
index 2644ad01092..2e882942d02 100644
--- a/source/blender/include/BIF_editaction.h
+++ b/source/blender/include/BIF_editaction.h
@@ -77,7 +77,9 @@ void transform_actionchannel_keys(int mode, int dummy);
void transform_meshchannel_keys(char mode, struct Key *key);
struct Key *get_action_mesh_key(void);
int get_nearest_key_num(struct Key *key, short *mval, float *x);
-void set_snap_actionchannels(void);
+void snap_keys_to_frame(void);
+
+/* channel/strip operations */
void up_sel_action(void);
void down_sel_action(void);
void top_sel_action(void);
diff --git a/source/blender/include/BSE_editipo.h b/source/blender/include/BSE_editipo.h
index 2f98c047dc9..b60cd98b80c 100644
--- a/source/blender/include/BSE_editipo.h
+++ b/source/blender/include/BSE_editipo.h
@@ -135,7 +135,7 @@ void sampledata_to_ipocurve(float *data, int sfra, int efra, struct IpoCurve *ic
void ipo_record(void);
void sethandles_ipo_keys(struct Ipo *ipo, int code);
-void snap_ipo_keys(struct Ipo *ipo);
+void snap_ipo_keys(struct Ipo *ipo, short snaptype);
void setipotype_ipo(struct Ipo *ipo, int code);
void set_ipo_key_selection(struct Ipo *ipo, int sel);
int is_ipo_key_selected(struct Ipo *ipo);