Sequencer: skip adding ImBuf to cache when it failed to render

This commit is contained in:
Sergey Sharybin
2012-08-20 10:56:19 +00:00
parent 0ae7286891
commit ad647b2767

View File

@@ -2567,7 +2567,8 @@ static ImBuf *seq_render_strip(SeqRenderData context, Sequence *seq, float cfra)
ibuf = do_render_strip_uncached(context, seq, cfra);
BKE_sequencer_preprocessed_cache_put(context, seq, cfra, SEQ_STRIPELEM_IBUF, ibuf);
if (ibuf)
BKE_sequencer_preprocessed_cache_put(context, seq, cfra, SEQ_STRIPELEM_IBUF, ibuf);
}
}