[Bf-blender-cvs] [95ca2cd634d] soc-2021-vse-strip-thumbnails: Fix : Switching off overlay now turns off thumbnails also

Aditya Y Jeppu noreply at git.blender.org
Mon Aug 16 16:20:45 CEST 2021


Commit: 95ca2cd634d887f86a6da0d0605652dde1fe0121
Author: Aditya Y Jeppu
Date:   Mon Aug 16 19:50:06 2021 +0530
Branches: soc-2021-vse-strip-thumbnails
https://developer.blender.org/rB95ca2cd634d887f86a6da0d0605652dde1fe0121

Fix : Switching off overlay now turns off thumbnails also

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

M	source/blender/editors/space_sequencer/sequencer_draw.c

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

diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c
index 4d7a90993fa..c26154179b1 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -1507,7 +1507,7 @@ static void draw_seq_strip(const bContext *C,
     drawmeta_contents(scene, seq, x1, y1, x2, y2);
   }
 
-  if ((sseq->flag & SEQ_SHOW_THUMBNAILS) &&
+  if ((sseq->flag & SEQ_SHOW_STRIP_OVERLAY) && (sseq->flag & SEQ_SHOW_THUMBNAILS) &&
       (seq->type == SEQ_TYPE_MOVIE || seq->type == SEQ_TYPE_IMAGE)) {
     draw_seq_strip_thumbnail(v2d, C, sseq, scene, seq, x1, y1, x2, y2, pixelx, pixely);
   }



More information about the Bf-blender-cvs mailing list