diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-07-07 04:02:01 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-07-07 04:02:01 +0300 |
commit | 45d54ea67f9440d1c4ef89b3257ee92159de2599 (patch) | |
tree | 4d1bbd22f000c574f7315dbc556faf62f0f131ae /source/blender/editors/space_sequencer/sequencer_draw.c | |
parent | 6ac3a106190c1ebcf943e341d7078333f18bf8cb (diff) |
VSE: Fix cache bar not visible
Cache bar was only visible when Frame overlay was enabled
Reviewed By: jbakker
Differential Revision: https://developer.blender.org/D11779
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_draw.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_draw.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index 9669ca2d7c2..82283b03fc8 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -2479,12 +2479,13 @@ void draw_timeline_seq_display(const bContext *C, ARegion *region) const SpaceSeq *sseq = CTX_wm_space_seq(C); View2D *v2d = ®ion->v2d; + UI_view2d_view_ortho(v2d); + draw_cache_view(C); + if (scene->ed && scene->ed->over_flag & SEQ_EDIT_OVERLAY_SHOW) { - UI_view2d_view_ortho(v2d); - draw_cache_view(C); draw_overlap_frame_indicator(scene, v2d); - UI_view2d_view_restore(C); } + UI_view2d_view_restore(C); ED_time_scrub_draw_current_frame(region, scene, !(sseq->flag & SEQ_DRAWFRAMES), true); UI_view2d_scrollers_draw(v2d, NULL); |