From 9132754dc1ed77429a6e870c479b69ac8829d845 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Tue, 12 Jul 2011 12:13:23 +0000 Subject: Timeline Drawing - Time cursor draws extra wide in timeline so that keyframe lines are wrapped up nicely by it Ideally it could be made so that it only became wide when it is on a frame with a keyframe, though that could end up causing performance problems, so this will have to do (if a bit "chunky" looking at times). --- source/blender/editors/space_time/space_time.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/space_time') diff --git a/source/blender/editors/space_time/space_time.c b/source/blender/editors/space_time/space_time.c index 524ff60d48d..09842870dff 100644 --- a/source/blender/editors/space_time/space_time.c +++ b/source/blender/editors/space_time/space_time.c @@ -472,6 +472,7 @@ static void time_main_area_draw(const bContext *C, ARegion *ar) time_draw_sfra_efra(scene, v2d); /* current frame */ + flag = DRAWCFRA_WIDE; /* this is only really needed on frames where there's a keyframe, but this will do... */ if ((stime->flag & TIME_DRAWFRAMES)==0) flag |= DRAWCFRA_UNIT_SECONDS; if (stime->flag & TIME_CFRA_NUM) flag |= DRAWCFRA_SHOW_NUMBOX; ANIM_draw_cfra(C, v2d, flag); -- cgit v1.2.3