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:
authorMatt Ebb <matt@mke3.net>2004-06-03 18:29:14 +0400
committerMatt Ebb <matt@mke3.net>2004-06-03 18:29:14 +0400
commit5926231d1287feab952fed91e858ee871c2b79e6 (patch)
tree10feb3f68d2f3c51722e89fcd1e57e1478c0573a /source/blender/src/editseq.c
parent94042b0fef154aeac5571134099163776054c4e4 (diff)
* Added 'Transform' menus to Ipo, OOPS, Action, NLA, and
Sequence spaces * And a few small tweaks
Diffstat (limited to 'source/blender/src/editseq.c')
-rw-r--r--source/blender/src/editseq.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/source/blender/src/editseq.c b/source/blender/src/editseq.c
index 0256217a1ef..0731d671ead 100644
--- a/source/blender/src/editseq.c
+++ b/source/blender/src/editseq.c
@@ -1994,7 +1994,17 @@ void clever_numbuts_seq(void)
}
}
-void seq_snapmenu(void)
+void seq_snap_menu(void)
+{
+ short event;
+
+ event= pupmenu("Snap %t|To Current Frame%x1");
+ if(event < 1) return;
+
+ seq_snap(event);
+}
+
+void seq_snap(short event)
{
Editing *ed;
Sequence *seq;
@@ -2002,10 +2012,6 @@ void seq_snapmenu(void)
ed= G.scene->ed;
if(ed==0) return;
-
- event= pupmenu("Snap %t|Seq to frame%x1");
-
- if(event<1) return;
/* problem: contents of meta's are all shifted to the same position... */