diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-06-11 18:27:20 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-06-11 18:28:32 +0300 |
commit | 4df6474f01ce6c0db57538f737baead2936e2496 (patch) | |
tree | 79a64d5c3db2748f82f32247be1af09f47a7c91d /source/blender/editors | |
parent | dccf5afbef67ffd0201da26cc6603c1f42d3668f (diff) |
Fix T48617: VSE: Do not draw backdrop in Seq + Preview mode, only makes sense when no preview is available...
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_draw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index f6afd7a16e7..08e12134b51 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); } |