[Bf-blender-cvs] [fa3da4d23d9] master: Use cache only in current scene

Richard Antalik noreply at git.blender.org
Wed May 1 14:40:29 CEST 2019


Commit: fa3da4d23d919ca03e056475e43383a0ce308b8f
Author: Richard Antalik
Date:   Wed May 1 05:16:29 2019 -0700
Branches: master
https://developer.blender.org/rBfa3da4d23d919ca03e056475e43383a0ce308b8f

Use cache only in current scene

Disable cache use, when rendering another scene seqbase.
Now cache limit applies only to one scene, so it can be overshot.
Cache of other scenes can be filled manually still.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D4757

===================================================================

M	source/blender/blenkernel/intern/sequencer.c

===================================================================

diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index 1e492499670..30d2e2a8d66 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -3720,6 +3720,7 @@ static ImBuf *do_render_strip_uncached(const SeqRenderData *context,
            */
           SeqRenderData local_context = *context;
           local_context.scene = seq->scene;
+          local_context.skip_cache = true;
 
           ibuf = do_render_strip_seqbase(&local_context, state, seq, nr, use_preprocess);



More information about the Bf-blender-cvs mailing list