fix for crash when loading files that had the animtimer set.

This commit is contained in:
Campbell Barton
2010-06-28 18:40:17 +00:00
parent 3166136da7
commit 926f94252d

View File

@@ -4559,6 +4559,7 @@ static void lib_link_screen(FileData *fd, Main *main)
if(sc->id.flag & LIB_NEEDLINK) {
sc->id.us= 1;
sc->scene= newlibadr(fd, sc->id.lib, sc->scene);
sc->animtimer= NULL; /* saved in rare cases */
sa= sc->areabase.first;
while(sa) {