diff options
author | Alessio Monti di Sopra <a.monti> | 2019-07-05 10:51:12 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2019-07-05 10:51:12 +0300 |
commit | 1468f77a290610565de3fb126b02789de22c3a8e (patch) | |
tree | 9faf42332011db2d31ba60f6fd0bf4ac0c71d5b3 /source/blender/editors/space_sequencer/sequencer_draw.c | |
parent | baf3887207beb1c5e1393387d9e592032259ae77 (diff) |
VSE: draw cache on top of markers area
Differential Revision: https://developer.blender.org/D5104
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_draw.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_draw.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index e53a3cb02a7..76c198b3d6b 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -2042,8 +2042,6 @@ void draw_timeline_seq(const bContext *C, ARegion *ar) if (ed) { /* draw the data */ draw_seq_strips(C, ed, ar); - draw_cache_view(C); - /* text draw cached (for sequence names), in pixelspace now */ UI_view2d_text_cache_draw(ar); } @@ -2063,8 +2061,12 @@ void draw_timeline_seq(const bContext *C, ARegion *ar) } ED_markers_draw(C, marker_draw_flag); - /* preview range */ UI_view2d_view_ortho(v2d); + /* draw cache on top of markers area */ + if (ed) { + draw_cache_view(C); + } + /* preview range */ ANIM_draw_previewrange(C, v2d, 1); /* overlap playhead */ |