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:
authorCampbell Barton <ideasman42@gmail.com>2010-06-28 22:40:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-06-28 22:40:17 +0400
commit926f94252d4fd2a759a312b8df4b87d9dc68eae6 (patch)
tree245c0c88713ecc0180f5ab82aef3f2c4308f8fba /source/blender/blenloader
parent3166136da7ed67f3357d0e5ca1c1cb1d929f48b4 (diff)
fix for crash when loading files that had the animtimer set.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 8ff2011ffea..700a3c2d77b 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -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) {