[Bf-blender-cvs] [4df6474] master: Fix T48617: VSE: Do not draw backdrop in Seq + Preview mode, only makes sense when no preview is available...

Bastien Montagne noreply at git.blender.org
Sat Jun 11 17:28:41 CEST 2016


Commit: 4df6474f01ce6c0db57538f737baead2936e2496
Author: Bastien Montagne
Date:   Sat Jun 11 17:27:20 2016 +0200
Branches: master
https://developer.blender.org/rB4df6474f01ce6c0db57538f737baead2936e2496

Fix T48617: VSE: Do not draw backdrop in Seq + Preview mode, only makes sense when no preview is available...

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

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 f6afd7a..08e1213 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -1629,7 +1629,8 @@ void draw_timeline_seq(const bContext *C, ARegion *ar)
 	// NOTE: the gridlines are currently spaced every 25 frames, which is only fine for 25 fps, but maybe not for 30...
 	UI_view2d_constant_grid_draw(v2d);
 
-	if (sseq->draw_flag & SEQ_DRAW_BACKDROP) {
+	/* Only draw backdrop in pure sequence view. */
+	if (sseq->view == SEQ_VIEW_SEQUENCE && sseq->draw_flag & SEQ_DRAW_BACKDROP) {
 		draw_image_seq(C, scene, ar, sseq, scene->r.cfra, 0, false, true);
 		UI_view2d_view_ortho(v2d);
 	}




More information about the Bf-blender-cvs mailing list