Fix T45191 Speed strip behaviour not easy to predict.

Code here calculated speed based on underlying strip start position,
which was not really visible, making prediction of the result really
difficult. Things here are simple: As long as the strip exists,
manipulate the current frame by the provided factor.
This commit is contained in:
Antony Riakiotakis 2015-06-25 19:49:08 +02:00
parent 284d294f2c
commit 0e83b0854f

@ -2477,7 +2477,7 @@ void BKE_sequence_effect_speed_rebuild_map(Scene *scene, Sequence *seq, bool for
if ((seq->seq1->enddisp != seq->seq1->start) &&
(seq->seq1->len != 0))
{
fallback_fac = (float) seq->seq1->len / (float) (seq->seq1->enddisp - seq->seq1->start);
fallback_fac = 1.0f;
flags = SEQ_SPEED_INTEGRATE;
fcu = NULL;
}