Bugfix: In Action Editor, when "show pose markers" was enabled, all

markers were always drawn as local pose-markers, even when they were
not.
This commit is contained in:
2011-02-26 10:41:59 +00:00
parent 7a55884b62
commit abecdac41e

View File

@@ -193,7 +193,7 @@ static void action_main_area_draw(const bContext *C, ARegion *ar)
/* markers */
UI_view2d_view_orthoSpecial(ar, v2d, 1);
flag = (saction->flag & SACTION_POSEMARKERS_SHOW)? DRAW_MARKERS_LOCAL : 0;
flag = (ac.markers && (ac.markers != &ac.scene->markers))? DRAW_MARKERS_LOCAL : 0;
draw_markers_time(C, flag);
/* preview range */