From 96de4cd9a82d69b576e2829f4c867b656d6fc049 Mon Sep 17 00:00:00 2001 From: Daniel Genrich Date: Thu, 10 Sep 2009 10:35:51 +0000 Subject: Smoke: * Bugfix for loading saved files --- source/blender/blenloader/intern/readfile.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index b6fc9f7af12..37031f4f82a 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -3685,8 +3685,11 @@ static void direct_link_modifiers(FileData *fd, ListBase *lb) smd->domain->smd = smd; smd->domain->fluid = NULL; - // smd->domain->view3d = NULL; - // smd->domain->tex = NULL; + smd->domain->wt = NULL; + smd->domain->shadow = NULL; + smd->domain->tex = NULL; + smd->domain->tex_shadow = NULL; + smd->domain->tex_wt = NULL; direct_link_pointcache_list(fd, &(smd->domain->ptcaches[0]), &(smd->domain->point_cache[0])); direct_link_pointcache_list(fd, &(smd->domain->ptcaches[1]), &(smd->domain->point_cache[1])); -- cgit v1.2.3