diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-06-25 20:49:08 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-06-25 20:49:08 +0300 |
commit | 0e83b0854fc66af16dd187759c031e530ecd4c05 (patch) | |
tree | 913e79b7d57c394ac3190ada0c3c64abd21ffba3 | |
parent | 284d294f2c17fe116619269fc5f0170cfca4b51f (diff) |
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.
-rw-r--r-- | source/blender/blenkernel/intern/seqeffects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/seqeffects.c b/source/blender/blenkernel/intern/seqeffects.c index a8787d44914..f8608ce9406 100644 --- a/source/blender/blenkernel/intern/seqeffects.c +++ b/source/blender/blenkernel/intern/seqeffects.c @@ -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; } |