From d54143078562fbf7780f0da8ab5c6da79a9c21b1 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Tue, 26 Feb 2019 17:24:36 +0100 Subject: UI: Show marker lines in remaining animation spaces This also includes fixed/slighly refactored drawing code for marker lines. The old code used the wrong height. Reviewers: brecht Differential Revision: https://developer.blender.org/D4411 --- source/blender/editors/space_action/space_action.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/space_action/space_action.c') diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c index ac82fb2888a..3dffa6afb55 100644 --- a/source/blender/editors/space_action/space_action.c +++ b/source/blender/editors/space_action/space_action.c @@ -243,6 +243,7 @@ static void action_main_region_draw(const bContext *C, ARegion *ar) UI_view2d_view_orthoSpecial(ar, v2d, 1); marker_flag = ((ac.markers && (ac.markers != &ac.scene->markers)) ? DRAW_MARKERS_LOCAL : 0) | DRAW_MARKERS_MARGIN; + if (saction->flag & SACTION_SHOW_MARKER_LINES) marker_flag |= DRAW_MARKERS_LINES; ED_markers_draw(C, marker_flag); /* caches */ -- cgit v1.2.3