Fix part #33534: Building proxies will remove strip animation

This commit is contained in:
Sergey Sharybin 2012-12-17 08:45:44 +00:00
parent ab2c273b12
commit 8a4ba61786

@ -191,7 +191,9 @@ static void BKE_sequence_free_ex(Scene *scene, Sequence *seq, const int do_cache
((ID *)seq->sound)->us--;
}
/* clipboard has no scene and will never have a sound handle or be active */
/* clipboard has no scene and will never have a sound handle or be active
* same goes to sequences copy for proxy rebuild job
*/
if (scene) {
Editing *ed = scene->ed;
@ -1451,7 +1453,7 @@ void BKE_sequencer_proxy_rebuild_finish(SeqIndexBuildContext *context, short sto
IMB_anim_index_rebuild_finish(context->index_context, stop);
}
seq_free_sequence_recurse(context->scene, context->seq);
seq_free_sequence_recurse(NULL, context->seq);
MEM_freeN(context);
}