diff options
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index fea9ac87480..9490a4ca5ce 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -2402,8 +2402,10 @@ static void direct_link_object(FileData *fd, Object *ob) } ob->fluidsimSettings= newdataadr(fd, ob->fluidsimSettings); /* NT */ if(ob->fluidsimSettings) { - // not much to do for now... - ob->fluidsimSettings->orgMesh = NULL; + // reinit mesh pointers + ob->fluidsimSettings->orgMesh = NULL; //ob->data; + ob->fluidsimSettings->meshSurface = NULL; + ob->fluidsimSettings->meshBB = NULL; } link_list(fd, &ob->prop); |