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.
This commit is contained in:
2012-08-12 13:29:57 +00:00
parent 51fafdee0c
commit 82688e61fc

View File

@@ -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)