New 'feature' for image/movie strips: Strobe
In the NKEY flying panel, you can set "Strobe" to something other than 1 for only displaying each nth picture of the strip. You know the effect from movies :) (I put this into the NKEY panel rather than as a effect because effects only affect single frames (?) while this rather has to do with the timing... like "Reverse")
This commit is contained in:
@@ -1716,11 +1716,12 @@ StripElem *give_stripelem(Sequence *seq, int cfra)
|
||||
else if(cfra >= seq->start+seq->len-1) nr= 0;
|
||||
else nr= (seq->start + seq->len) - cfra;
|
||||
} else {
|
||||
if(cfra <= seq->start) nr= 0;
|
||||
else if(cfra >= seq->start+seq->len-1) nr= seq->len-1;
|
||||
else nr= cfra-seq->start;
|
||||
if(cfra <= seq->start) nr= 0;
|
||||
else if(cfra >= seq->start+seq->len-1) nr= seq->len-1;
|
||||
else nr= cfra-seq->start;
|
||||
}
|
||||
|
||||
if (seq->strobe == 0) seq->strobe = 1;
|
||||
nr -= nr % seq->strobe;
|
||||
|
||||
se+= nr; /* don't get confused by the increment, this is the same as strip->stripdata[nr], which works on some compilers...*/
|
||||
se->nr= nr;
|
||||
|
||||
Reference in New Issue
Block a user