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:
authorPeter Schlaile <peter@schlaile.de>2010-07-20 16:22:45 +0400
committerPeter Schlaile <peter@schlaile.de>2010-07-20 16:22:45 +0400
commitf9e9e90a0293e4251528ceaaf7e7b000d7c05874 (patch)
tree60f3d9b8d294c08d17c515ad918e82e3b5aae572 /source/blender/blenkernel
parentfaeec3b147a4869007bd1dbe8ca95fc1d5b7ed59 (diff)
== Sequencer ==
Cutting effect strips (esp multicam) didn't free endstill tstripdata. Doesn't sound like much of a problem, but those can get big on large timelines. So every cut eating 3 MB of memory doesn't leave much room for editing decisions :)
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/sequencer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index f631e42e05a..94aa2c62f1a 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -1142,7 +1142,7 @@ static TStripElem *give_tstripelem(Sequence *seq, int cfra)
Strip * s = seq->strip;
if (cfra < seq->start) {
se = s->tstripdata_startstill;
- if (seq->startstill > s->startstill) {
+ if (seq->startstill != s->startstill) {
free_tstripdata(s->startstill,
s->tstripdata_startstill);
se = 0;
@@ -1159,7 +1159,7 @@ static TStripElem *give_tstripelem(Sequence *seq, int cfra)
} else if (cfra > seq->start + seq->len-1) {
se = s->tstripdata_endstill;
- if (seq->endstill > s->endstill) {
+ if (seq->endstill != s->endstill) {
free_tstripdata(s->endstill,
s->tstripdata_endstill);
se = 0;