From b37e9eafeb5dac9ac467940c01c1a9383677ecc7 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 22 Apr 2004 12:36:27 +0000 Subject: - 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. --- source/blender/blenloader/intern/readfile.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/blender/blenloader') 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; + } } } } -- cgit v1.2.3