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
This commit is contained in:
Ton Roosendaal 2009-04-11 14:43:03 +00:00
parent 8132ca62df
commit f28a6a90f1

@ -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 */