diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-04 14:51:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-04 14:51:10 +0400 |
commit | 8aa0f9b033eff5aa4f6b66d3148d6379a60ebf06 (patch) | |
tree | 20eae6fde0fcaed87b259d9aad3f26fd1957edd7 /source/blender/blenkernel | |
parent | 4a6cc10d756ddccf1912daaa6cef1d1e25538c0c (diff) |
last fix still could give corrupt sound, rather then updating the sound info just add and remove the sound handle.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index d0678bc1866..e21901f70d9 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -549,8 +549,8 @@ void calc_sequence(Scene *scene, Sequence *seq) if(seq->type==SEQ_META) { seqm= seq->seqbase.first; if(seqm) { - min= 1000000; - max= -1000000; + min= MAXFRAME * 2; + max= -MAXFRAME * 2; while(seqm) { if(seqm->startdisp < min) min= seqm->startdisp; if(seqm->enddisp > max) max= seqm->enddisp; |