[Bf-blender-cvs] [546eee7] fracture_modifier: crash fix: forgot to "walk" over the cutter_group inside the modifier, effectively forgetting to set references to the helper group, thus resulting in a crash at loading time

Martin Felke noreply at git.blender.org
Thu Mar 5 20:56:04 CET 2015


Commit: 546eee7005c1353de5f798818158f150343463e0
Author: Martin Felke
Date:   Thu Mar 5 20:55:56 2015 +0100
Branches: fracture_modifier
https://developer.blender.org/rB546eee7005c1353de5f798818158f150343463e0

crash fix: forgot to "walk" over the cutter_group inside the modifier, effectively forgetting to set references to the helper group, thus resulting in a crash at loading time

===================================================================

M	source/blender/modifiers/intern/MOD_fracture.c

===================================================================

diff --git a/source/blender/modifiers/intern/MOD_fracture.c b/source/blender/modifiers/intern/MOD_fracture.c
index 43883b6..78d3bc3 100644
--- a/source/blender/modifiers/intern/MOD_fracture.c
+++ b/source/blender/modifiers/intern/MOD_fracture.c
@@ -2795,6 +2795,7 @@ static void foreachIDLink(ModifierData *md, Object *ob,
 	walk(userData, ob, (ID **)&fmd->extra_group);
 	walk(userData, ob, (ID **)&fmd->dm_group);
 	walk(userData, ob, (ID **)&fmd->cluster_group);
+	walk(userData, ob, (ID **)&fmd->cutter_group);
 }
 
 static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *UNUSED(md))




More information about the Bf-blender-cvs mailing list