Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-08-12 17:29:57 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-08-12 17:29:57 +0400
commit82688e61fc330022bd8685a5a137fca024a60b8a (patch)
tree80af0a0186478f61fe73b0349089cc50549be711 /source/blender/blenkernel/intern/sequencer.c
parent51fafdee0c650b991ba9bd65f488cfeba0339cdf (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.
Diffstat (limited to 'source/blender/blenkernel/intern/sequencer.c')
-rw-r--r--source/blender/blenkernel/intern/sequencer.c2
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)