diff options
author | Joshua Leung <aligorith@gmail.com> | 2010-01-27 14:43:34 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2010-01-27 14:43:34 +0300 |
commit | f84f96aee58bfbf014cedc68bf9de81dc0edc0ff (patch) | |
tree | 3cef54589aa60b3eb321dcddab9f1531177d80a0 /source/blender/editors/space_action | |
parent | 7a959059029bcd5abf0a41655d6eb07eb6ef725c (diff) |
DopeSheet and NLA Editor Scrollbar/View Bugs:
Fixed some long-standing bugs with DopeSheet and NLA Editor main views not being properly lined up with their channels, and/or showing an incorrect scrollbar.
This fixes #20759, and probably a few other reports about similar issues that might've cropped up.
NOTE:
- probably a version bump might be needed after this, to avoid problems on durian animation files?
- the default .b.blend needs updating again, since the saved config there doesn't get updated (or doesn't here, when using load factory settings)
Diffstat (limited to 'source/blender/editors/space_action')
-rw-r--r-- | source/blender/editors/space_action/space_action.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c index 26464dcfab8..f7902405589 100644 --- a/source/blender/editors/space_action/space_action.c +++ b/source/blender/editors/space_action/space_action.c @@ -103,7 +103,7 @@ static SpaceLink *action_new(const bContext *C) ar->regiontype= RGN_TYPE_WINDOW; ar->v2d.tot.xmin= -10.0f; - ar->v2d.tot.ymin= (float)(-sa->winy); + ar->v2d.tot.ymin= (float)(-sa->winy)/3.0f; ar->v2d.tot.xmax= (float)(sa->winx); ar->v2d.tot.ymax= 0.0f; @@ -113,7 +113,7 @@ static SpaceLink *action_new(const bContext *C) ar->v2d.min[1]= 0.0f; ar->v2d.max[0]= MAXFRAMEF; - ar->v2d.max[1]= 10000.0f; + ar->v2d.max[1]= FLT_MAX; ar->v2d.minzoom= 0.01f; ar->v2d.maxzoom= 50; |