diff options
author | Ton Roosendaal <ton@blender.org> | 2004-04-22 16:36:27 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-04-22 16:36:27 +0400 |
commit | b37e9eafeb5dac9ac467940c01c1a9383677ecc7 (patch) | |
tree | 696b99de01f3a4336c4d90fe3af6fbf9b9a08cf8 /source/blender/blenloader | |
parent | 004307a5723af8fe03150342fdd05d262ead03bb (diff) |
- NLA Window:
Added support for Panels, and converted old NKEY menu here.
Also enabled zooming in further, as for Action Window.
(note: this editor can use some work, this action stuff is underdeveloped
and mysterious!)
- UI code
Brought back fix that sets for each Panel a GL matrix for UI code thats
coming after it. This makes system more flexible, and prevents conflicts
with other uiBlocks in a window (like ipo, action).
This will give a tinsy bit more load for moving mouse around... please
report back if this causes troubles.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 1d7668af5d1..6d8272f7a48 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -4154,6 +4154,12 @@ static void do_versions(Main *main) SpaceLink *sl; for (sl= sa->spacedata.first; sl; sl= sl->next) { if(sl->blockscale==0.0) sl->blockscale= 0.7; + + /* added: 5x better zoom in for nla */ + if(sl->spacetype==SPACE_NLA) { + SpaceNla *snla= (SpaceNla *)sl; + snla->v2d.maxzoom= 50; + } } } } |