diff options
author | Peter Schlaile <peter@schlaile.de> | 2006-03-27 01:36:42 +0400 |
---|---|---|
committer | Peter Schlaile <peter@schlaile.de> | 2006-03-27 01:36:42 +0400 |
commit | 2dce179e9d46b7aeeb603636c6027ef2d1ff2a8e (patch) | |
tree | b6f5d0e9b607675f6ff12529b9a2ce62e9e8a998 /source/blender/src/drawseq.c | |
parent | 915cd5b80b888c0eb70160ca6be11d7d39d43e8d (diff) |
==Sequencer==
This patch is mostly a usability patch for the sequencer, mainly written by
Anders Gudmundson and twisted a little bit by me.
- Lock Time to other windows
- Possibility to switch the X-Axis between frames and seconds-display
- IPO-Frame Locking for plugins (T-Key)
- Additional Popup to add HD-Sound and Movie at once
- In Timeline-Window: Sequencer windows only playback
- Make the IPOs a little bit IPO-Frame-Lock friendlier (doesn't jump;
the frame that is drawn has the right dimension)
- Wheel-Mouse buttons make the sequencer window zoom again.
- The "This is not a sound/movie-file message" now reads "... or
FFMPEG-support not compiled in!" since I learned some prominent
people who complained, that hdaudio does not work for them ;-)
- Make SPACEKEY open up the "Add Strip"-Popup on the timeline and start
playback in the preview window.
Diffstat (limited to 'source/blender/src/drawseq.c')
-rw-r--r-- | source/blender/src/drawseq.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/source/blender/src/drawseq.c b/source/blender/src/drawseq.c index a423a08d320..6b17446f17c 100644 --- a/source/blender/src/drawseq.c +++ b/source/blender/src/drawseq.c @@ -632,7 +632,7 @@ static void draw_image_seq(ScrArea *sa) static void draw_extra_seqinfo(void) { - extern Sequence *last_seq; + Sequence *last_seq = get_last_seq(); StripElem *se, *last; float xco, xfac; int sta, end; @@ -734,7 +734,7 @@ static void draw_extra_seqinfo(void) void do_seqbuttons(short val) { - extern Sequence *last_seq; + Sequence *last_seq = get_last_seq(); switch(val) { case SEQ_BUT_PLUGIN: @@ -756,7 +756,7 @@ void do_seqbuttons(short val) static void seq_panel_properties(short cntrl) // SEQ_HANDLER_PROPERTIES { - extern Sequence *last_seq; + Sequence *last_seq = get_last_seq(); uiBlock *block; block= uiNewBlock(&curarea->uiblocks, "seq_panel_properties", UI_EMBOSS, UI_HELV, curarea->win); @@ -785,6 +785,13 @@ static void seq_panel_properties(short cntrl) // SEQ_HANDLER_PROPERTIES } } + uiDefButBitS(block, TOG, SEQ_IPO_FRAME_LOCKED, + SEQ_BUT_RELOAD, "IPO Frame locked", + 10,-40,150,19, &last_seq->flag, + 0.0, 1.0, 0, 0, + "Lock the IPO coordinates to the " + "global frame counter."); + } else if(last_seq->type==SEQ_IMAGE) { @@ -1065,6 +1072,7 @@ void drawseqspace(ScrArea *sa, void *spacedata) seq_blockhandlers(sa); } + view2d_do_locks(curarea, V2D_LOCK_COPY); curarea->win_swap= WIN_BACK_OK; } |