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-01-17 11:21:21 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2008-01-17 11:21:21 +0300
commitbd60122a2ac59a24a71db3f567d6a2c07f58dccf (patch)
treeda40011afc6b9033cf87989abcd24f56608aca4c
parent0e476af66e54f72884a2a407fba91cf2c1688193 (diff)
* make sure we don't crash on window duplicate, or .B.blend read. There is still a bug with duplicate, but I'm working on it.
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 08ff87cfeaf..13b2179e778 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3948,6 +3948,8 @@ static void direct_link_screen(FileData *fd, bScreen *sc)
ar->swinid= 0;
ar->type= NULL;
}
+
+ sa->actionzones.first= sa->actionzones.last= NULL;
sa->v1= newdataadr(fd, sa->v1);
sa->v2= newdataadr(fd, sa->v2);