[Bf-blender-cvs] [b8cb539f2c7] fracture_modifier: fix for old dynamic external mode

Martin Felke noreply at git.blender.org
Sun Jun 11 18:16:37 CEST 2017


Commit: b8cb539f2c7fe54e1e788c03b15e3f5ec754a7b6
Author: Martin Felke
Date:   Sun Jun 11 18:16:19 2017 +0200
Branches: fracture_modifier
https://developer.blender.org/rBb8cb539f2c7fe54e1e788c03b15e3f5ec754a7b6

fix for old dynamic external mode

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

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 90ce57a1c93..c8116d08a15 100644
--- a/source/blender/modifiers/intern/MOD_fracture.c
+++ b/source/blender/modifiers/intern/MOD_fracture.c
@@ -4969,7 +4969,8 @@ static Shard* copy_shard(Shard *s)
 static DerivedMesh *dm_from_packdata(FractureModifierData *fmd, DerivedMesh *derivedData)
 {
 	DerivedMesh *dm = NULL;
-	if (fmd->pack_storage.first)
+	/* keep old way of using dynamic external working as well, without interfering with packing */
+	if (fmd->pack_storage.first && !fmd->is_dynamic_external)
 	{
 		dm = BKE_fracture_create_dm(fmd, true, true);
 	}




More information about the Bf-blender-cvs mailing list