diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-03-09 10:00:40 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-03-09 10:00:40 +0300 |
commit | 6475e462fa1d3da30baac9a91b45779078169716 (patch) | |
tree | 537c58dad242141a7d3ee57225363443aad6b3c6 /source/blender/editors/space_graph | |
parent | f73d7c697cc092fa4e3239f2a3f62ed190509287 (diff) |
Graph Editor: Frame numbers in horizontal scrollbar are no longer restricted to 1.0 frame intervals.
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/space_graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/space_graph.c b/source/blender/editors/space_graph/space_graph.c index a43f8ee3502..e6365db92ad 100644 --- a/source/blender/editors/space_graph/space_graph.c +++ b/source/blender/editors/space_graph/space_graph.c @@ -227,7 +227,7 @@ static void graph_main_area_draw(const bContext *C, ARegion *ar) UI_view2d_view_ortho(C, v2d); /* grid */ - unitx= (sipo->flag & SIPO_DRAWTIME)? V2D_UNIT_SECONDS : V2D_UNIT_FRAMES; + unitx= (sipo->flag & SIPO_DRAWTIME)? V2D_UNIT_SECONDS : V2D_UNIT_FRAMESCALE; grid= UI_view2d_grid_calc(C, v2d, unitx, V2D_GRID_NOCLAMP, unity, V2D_GRID_NOCLAMP, ar->winx, ar->winy); UI_view2d_grid_draw(C, v2d, grid, V2D_GRIDLINES_ALL); UI_view2d_grid_free(grid); |