diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-12 20:10:54 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-12 20:10:54 +0300 |
commit | faf7965b3ca383d5b9504b644dff2ea40a55eb26 (patch) | |
tree | 50e9105eef2999f6cf8053d8ea070d9dba90a8e4 /source/blender/blenloader | |
parent | 2fa23a05941c652228d76c36e8f4d7e927538c8d (diff) |
2.5
- found fix for time-space view2d when increasing height of area, it has min/max Y zoom stored based on size of area... needs
smarter way.
- outliner: header file added, area switch menu + dummy pulldown.
this will become template for other space types...
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 1685f57dace..f7638ae1d10 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -5092,6 +5092,9 @@ static void area_add_window_regions(ScrArea *sa, SpaceLink *sl, ListBase *lb) ar->v2d.scroll |= (V2D_SCROLL_BOTTOM|V2D_SCROLL_SCALE_BOTTOM); ar->v2d.align |= V2D_ALIGN_NO_NEG_Y; ar->v2d.keepofs |= V2D_LOCKOFS_Y; + + /* XXX hrmf, force Y zoom to be fixed? */ + ar->v2d.min[1]= ar->v2d.max[1]= 500.0; } break; //case SPACE_XXX: // FIXME... add other ones |