[Bf-blender-cvs] [dac92444254] fracture_modifier: crash fix for changing shardcount and refracture when doing automerge

Martin Felke noreply at git.blender.org
Wed Apr 25 22:09:49 CEST 2018


Commit: dac92444254803c40145a5e1533eaec82d563b53
Author: Martin Felke
Date:   Wed Apr 25 22:09:25 2018 +0200
Branches: fracture_modifier
https://developer.blender.org/rBdac92444254803c40145a5e1533eaec82d563b53

crash fix for changing shardcount and refracture when doing automerge

forgot to refresh the merge data before merging, after refracturing

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

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 1340aaff0e4..866ac702389 100644
--- a/source/blender/modifiers/intern/MOD_fracture.c
+++ b/source/blender/modifiers/intern/MOD_fracture.c
@@ -4293,6 +4293,7 @@ static void do_post_island_creation(FractureModifierData *fmd, Object *ob, Deriv
 	fmd->refresh = false;
 	fmd->refresh_constraints = true;
 	fmd->refresh_autohide = true;
+	fmd->distortion_cached = false;
 
 #if 0
 	if (fmd->execute_threaded) {



More information about the Bf-blender-cvs mailing list