diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-07-12 16:13:23 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-07-12 16:13:23 +0400 |
commit | 9132754dc1ed77429a6e870c479b69ac8829d845 (patch) | |
tree | 34b6afe72135e4b905c3be68b2f2b4540eca4fd4 /source/blender/editors/space_time | |
parent | 7dd6926b22c77b4d77f64eccb7b8d4dab4dd5a7d (diff) |
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).
Diffstat (limited to 'source/blender/editors/space_time')
-rw-r--r-- | source/blender/editors/space_time/space_time.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |