diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-12 17:29:57 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-12 17:29:57 +0400 |
commit | 82688e61fc330022bd8685a5a137fca024a60b8a (patch) | |
tree | 80af0a0186478f61fe73b0349089cc50549be711 | |
parent | 51fafdee0c650b991ba9bd65f488cfeba0339cdf (diff) |
Sequencer: free cache used by sequence when removing strip
Before this removing and adding new strip could have been lead
into situations when new sequence would use old cache.
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index 920588d9f47..45259b5dbc9 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -136,6 +136,8 @@ static void free_proxy_seq(Sequence *seq) IMB_free_anim(seq->strip->proxy->anim); seq->strip->proxy->anim = NULL; } + + BKE_sequencer_cache_cleanup_sequence(seq); } static void seq_free_strip(Strip *strip) |