Fix T48617: VSE: Do not draw backdrop in Seq + Preview mode, only makes sense when no preview is available...
This commit is contained in:
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
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue