[Bf-blender-cvs] [c40cc0b] master: Remove redundant check
Campbell Barton
noreply at git.blender.org
Tue Jun 17 14:04:55 CEST 2014
Commit: c40cc0bf6d93bde49f1ae16a663cb504d1a588d3
Author: Campbell Barton
Date: Tue Jun 17 18:52:39 2014 +1000
https://developer.blender.org/rBc40cc0bf6d93bde49f1ae16a663cb504d1a588d3
Remove redundant check
===================================================================
M source/blender/blenkernel/intern/sequencer.c
===================================================================
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index 4118be6..2b38670 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -2813,8 +2813,7 @@ static ImBuf *seq_render_strip(const SeqRenderData *context, Sequence *seq, floa
ibuf = BKE_sequencer_cache_get(context, seq, cfra, SEQ_STRIPELEM_IBUF);
if (ibuf == NULL) {
- if (ibuf == NULL)
- ibuf = copy_from_ibuf_still(context, seq, nr);
+ ibuf = copy_from_ibuf_still(context, seq, nr);
if (ibuf == NULL) {
ibuf = BKE_sequencer_preprocessed_cache_get(context, seq, cfra, SEQ_STRIPELEM_IBUF);
More information about the Bf-blender-cvs
mailing list