From 4c4973350e4e9ed398081f155c15b1c8d960ce61 Mon Sep 17 00:00:00 2001 From: Daniel Genrich Date: Mon, 6 Aug 2012 11:55:52 +0000 Subject: Bugfix: Crash when changing collider type after loading blend file. Thanks to MiikaH for pointing out. --- source/blender/blenloader/intern/readfile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenloader') 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; -- cgit v1.2.3