diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-01-17 11:21:21 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-01-17 11:21:21 +0300 |
commit | bd60122a2ac59a24a71db3f567d6a2c07f58dccf (patch) | |
tree | da40011afc6b9033cf87989abcd24f56608aca4c | |
parent | 0e476af66e54f72884a2a407fba91cf2c1688193 (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.c | 2 |
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); |