diff options
author | Ton Roosendaal <ton@blender.org> | 2007-11-12 14:45:48 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-11-12 14:45:48 +0300 |
commit | 9c7a4a16bf8347a8179b5e42ffe45406b179cb1a (patch) | |
tree | c9e3f64b84ac5dd4978b47405af4aaddd49c3b7f /source/blender/src/editseq.c | |
parent | da7175476daed72841059d6aacb7bf25e991b7e0 (diff) |
Bugfix #7756
Sequencer: changing the Scene strip length (Ckey) crashed.
This is very confused code here... ancient allocation issues. :)
Diffstat (limited to 'source/blender/src/editseq.c')
-rw-r--r-- | source/blender/src/editseq.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/src/editseq.c b/source/blender/src/editseq.c index 737e7e1a4bf..8f328afc222 100644 --- a/source/blender/src/editseq.c +++ b/source/blender/src/editseq.c @@ -2011,6 +2011,10 @@ void change_sequence(void) last_seq->len= sce->r.efra - sce->r.sfra + 1; last_seq->sfra= sce->r.sfra; + + /* bad code to change seq->len? update_changed_seq_and_deps() expects the strip->len to be OK */ + new_stripdata(last_seq); + update_changed_seq_and_deps(last_seq, 1, 1); allqueue(REDRAWSEQ, 0); |