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>2012-08-06 15:55:52 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2012-08-06 15:55:52 +0400
commit4c4973350e4e9ed398081f155c15b1c8d960ce61 (patch)
tree5d5179b192b15631cb81ac2d631a45882d30d265 /source/blender/blenloader
parent54b61401edee7e4a26bf49b4d1f03c32af1cafc3 (diff)
Bugfix: Crash when changing collider type after loading blend file.
Thanks to MiikaH for pointing out.
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 e1095d25b1d..73494d118d4 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -4399,6 +4399,7 @@ static void direct_link_modifiers(FileData *fd, ListBase *lb)
smd->flow = NULL;
smd->domain = NULL;
smd->coll = newdataadr(fd, smd->coll);
+ smd->coll->smd = smd;
if (smd->coll) {
smd->coll->points = NULL;
smd->coll->numpoints = 0;