From 82688e61fc330022bd8685a5a137fca024a60b8a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sun, 12 Aug 2012 13:29:57 +0000 Subject: 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. --- source/blender/blenkernel/intern/sequencer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/intern/sequencer.c') 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) -- cgit v1.2.3