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

This commit is contained in:
Bastien Montagne 2016-06-11 17:27:20 +02:00
parent dccf5afbef
commit 4df6474f01
Notes: blender-bot 2023-02-14 07:50:16 +01:00
Referenced by issue #48617, use backdrop option is missing in some VSE modes
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}