Bugfix [#27548] Timeline view - 2D drawing issues
authorJoshua Leung <aligorith@gmail.com>
Tue, 12 Jul 2011 12:04:27 +0000 (12:04 +0000)
committerJoshua Leung <aligorith@gmail.com>
Tue, 12 Jul 2011 12:04:27 +0000 (12:04 +0000)
commit7dd6926b22c77b4d77f64eccb7b8d4dab4dd5a7d
tree84a30692d22edd72f43f60b40c7bcfec89505a28
parent8d78e10b69313eba178acf4e010c6709a3dbe1a9
Bugfix [#27548] Timeline view - 2D drawing issues

* Keyframe lines were being drawn too short when frame number box was
enabled. The code for drawing this was modifying the View2D view-space
to get it's stuff in the right place, but the timeline code was not
accounting for this.

* In order to make the time ticks more visible outside the frame
range, I've moved the start/end frame drawing stuff in timeline to
occur after the grid drawing, and to draw semi-transparent, just like
the preview range curtains in the other animation editors
source/blender/editors/animation/anim_draw.c
source/blender/editors/space_time/space_time.c