diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-20 14:56:19 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-08-20 14:56:19 +0400 |
commit | ad647b2767ea8b5cdc24cb3fae1173eca8a0da9b (patch) | |
tree | 593d7d88f32e11637dba290368428391a7a0a629 /source/blender/blenkernel | |
parent | 0ae7286891c400ad4a1a0067964e2a93c7581b8e (diff) |
Sequencer: skip adding ImBuf to cache when it failed to render
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index d266fc25589..3699f802c91 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -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); } } |