diff options
author | Ton Roosendaal <ton@blender.org> | 2009-04-11 18:43:03 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-04-11 18:43:03 +0400 |
commit | f28a6a90f1d59ecd8a95f3a6b636ddce6a848974 (patch) | |
tree | b0c77c8842a1334936d8e2cf71f7ecd25184f1b7 /source | |
parent | 8132ca62df44c188734499bdd27416ab66703ad5 (diff) |
2.5
Styles/fonts will be saved in userdef, but not yet... forgot to
zero pointers on read, causing crash on .B.blend read saved in 2.5
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 4a0f8206613..6508bed7437 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -8902,7 +8902,10 @@ static BHead *read_userdef(BlendFileData *bfd, FileData *fd, BHead *bhead) bfd->user= read_struct(fd, bhead, "user def"); bfd->user->themes.first= bfd->user->themes.last= NULL; - + // XXX + bfd->user->uifonts.first= bfd->user->uifonts.last= NULL; + bfd->user->uistyles.first= bfd->user->uistyles.last= NULL; + bhead = blo_nextbhead(fd, bhead); /* read all attached data */ |