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>2008-12-19 01:08:57 +0300
committerDaniel Genrich <daniel.genrich@gmx.net>2008-12-19 01:08:57 +0300
commita755342b1442ede048f7761b3d30cb546de23607 (patch)
tree1641a1c65af8a2fa06e0944840a61c2f4baf2392
parent04ef5be177b35c12378c85ef99b2e83aa7f27bd3 (diff)
Bugfix for crash with loading fluidsim files, reported by Gimble3d and nudelZ
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 91170563c11..6579d2cd4c1 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3179,6 +3179,7 @@ static void direct_link_modifiers(FileData *fd, ListBase *lb)
FluidsimModifierData *fluidmd = (FluidsimModifierData*) md;
fluidmd->fss= newdataadr(fd, fluidmd->fss);
+ fluidmd->fss->meshSurfNormals = 0;
}
else if (md->type==eModifierType_Collision) {
@@ -7856,6 +7857,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
fluidmd->fss->lastgoodframe = INT_MAX;
fluidmd->fss->flag = 0;
+ fluidmd->fss->meshSurfNormals = 0;
}
}
}