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
This commit is contained in:
Richard Antalik 2019-05-01 05:16:29 -07:00
parent bc597eb487
commit fa3da4d23d
1 changed files with 1 additions and 0 deletions

View File

@ -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);