[Bf-blender-cvs] [1468f77a290] master: VSE: draw cache on top of markers area
Alessio Monti di Sopra
noreply at git.blender.org
Fri Jul 5 09:52:10 CEST 2019
Commit: 1468f77a290610565de3fb126b02789de22c3a8e
Author: Alessio Monti di Sopra
Date: Fri Jul 5 09:51:12 2019 +0200
Branches: master
https://developer.blender.org/rB1468f77a290610565de3fb126b02789de22c3a8e
VSE: draw cache on top of markers area
Differential Revision: https://developer.blender.org/D5104
===================================================================
M source/blender/editors/space_sequencer/sequencer_draw.c
===================================================================
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 */
More information about the Bf-blender-cvs
mailing list