Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2008-12-29 03:03:05 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2008-12-29 03:03:05 +0300
commitb8ab364bd5c6119a13336b1ce04a8854a52bf361 (patch)
treeb8b5197ad1b090957006f19b634c94bf33009091 /source/blender/blenloader
parent4b3a37db14fe27ab0d7dc6b8c77f050c9268e54f (diff)
2.5 / Nodes
* patch reading of old files so nodes open up properly.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 9649a22ddb5..399ce3d6ef8 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5225,7 +5225,9 @@ static void area_add_window_regions(ScrArea *sa, SpaceLink *sl, ListBase *lb)
{
SpaceNode *snode= (SpaceNode *)sl;
memcpy(&ar->v2d, &snode->v2d, sizeof(View2D));
- ar->v2d.flag |= V2D_IS_INITIALISED;
+
+ ar->v2d.scroll= (V2D_SCROLL_RIGHT|V2D_SCROLL_BOTTOM);
+ ar->v2d.keepzoom= V2D_KEEPZOOM|V2D_KEEPASPECT;
break;
}
case SPACE_BUTS: