diff options
author | Daniel Genrich <daniel.genrich@gmx.net> | 2012-08-06 15:55:52 +0400 |
---|---|---|
committer | Daniel Genrich <daniel.genrich@gmx.net> | 2012-08-06 15:55:52 +0400 |
commit | 4c4973350e4e9ed398081f155c15b1c8d960ce61 (patch) | |
tree | 5d5179b192b15631cb81ac2d631a45882d30d265 | |
parent | 54b61401edee7e4a26bf49b4d1f03c32af1cafc3 (diff) |
Bugfix: Crash when changing collider type after loading blend file.
Thanks to MiikaH for pointing out.
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 1 |
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; |