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:
authorDaniel Genrich <daniel.genrich@gmx.net>2009-09-10 14:35:51 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2009-09-10 14:35:51 +0400
commit96de4cd9a82d69b576e2829f4c867b656d6fc049 (patch)
tree73c493672eedd7ef5981c47040a7502ce44eaf77
parentfa4ee2be849b6236d61e482106ed9e20f20f21de (diff)
Smoke:
* Bugfix for loading saved files
-rw-r--r--source/blender/blenloader/intern/readfile.c7
1 files 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]));