[Bf-blender-cvs] [4895459] gooseberry: Disable sequencer preprocess cache if 314 debug value is set
Antony Riakiotakis
noreply at git.blender.org
Wed Feb 4 13:36:08 CET 2015
Commit: 48954596d109d606679ea08d54098dd269c42280
Author: Antony Riakiotakis
Date: Wed Feb 4 13:35:56 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB48954596d109d606679ea08d54098dd269c42280
Disable sequencer preprocess cache if 314 debug value is set
===================================================================
M source/blender/blenkernel/intern/sequencer.c
===================================================================
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index 6bca0a0..d3977a6 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -2934,7 +2934,9 @@ static ImBuf *seq_render_strip(const SeqRenderData *context, Sequence *seq, floa
ibuf = copy_from_ibuf_still(context, seq, nr);
if (ibuf == NULL) {
- ibuf = BKE_sequencer_preprocessed_cache_get(context, seq, cfra, SEQ_STRIPELEM_IBUF);
+ /* disable caching in that case */
+ if (G.debug_value != 314)
+ ibuf = BKE_sequencer_preprocessed_cache_get(context, seq, cfra, SEQ_STRIPELEM_IBUF);
if (ibuf == NULL) {
/* MOVIECLIPs have their own proxy management */
More information about the Bf-blender-cvs
mailing list