Sequencer...

snapping to unselecrted strips didnt work (I didnt notice find_neighboring_sequence needed them to be touching, added find_next_prev_sequence to get the next/prev seq)
added select linked (L and Ctrl+L)
added Ctrl +/- select more/less
This commit is contained in:
2007-10-18 12:35:58 +00:00
parent dac77c4749
commit 6576464b03
5 changed files with 225 additions and 56 deletions

View File

@@ -4445,6 +4445,10 @@ static void winqreadseqspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
mouse_select_seq();
break;
case PADPLUSKEY:
if (G.qual==LR_CTRLKEY) {
select_more_seq();
break;
}
case WHEELUPMOUSE:
if(sseq->mainb) {
sseq->zoom++;
@@ -4473,6 +4477,10 @@ static void winqreadseqspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
doredraw= 1;
break;
case PADMINUS:
if (G.qual==LR_CTRLKEY) {
select_less_seq();
break;
}
case WHEELDOWNMOUSE:
if(sseq->mainb) {
sseq->zoom--;
@@ -4577,6 +4585,13 @@ static void winqreadseqspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
if(okee("Cut strips")) seq_cut(CFRA);
}
break;
case LKEY:
if((G.qual==0)) { /* Cut at current frame */
select_linked_seq( 0 );
} else if((G.qual==LR_CTRLKEY)) { /* Cut at current frame */
select_linked_seq( 2 );
}
break;
case YKEY:
if((G.qual==0)) { /* Cut at current frame */
seq_separate_images();