[Bf-blender-cvs] [f70caf38d7d] temp-fracture-modifier-2.8: hmm nothing happens so far when fracturing...
Martin Felke
noreply at git.blender.org
Fri Aug 10 14:00:32 CEST 2018
Commit: f70caf38d7dff389293fb915a9f0d81646b111ba
Author: Martin Felke
Date: Wed Aug 8 00:18:28 2018 +0200
Branches: temp-fracture-modifier-2.8
https://developer.blender.org/rBf70caf38d7dff389293fb915a9f0d81646b111ba
hmm nothing happens so far when fracturing...
===================================================================
M source/blender/blenkernel/intern/fracture.c
M source/blender/modifiers/intern/MOD_fracture.c
===================================================================
diff --git a/source/blender/blenkernel/intern/fracture.c b/source/blender/blenkernel/intern/fracture.c
index 0be6aa9facd..008bfd61f9b 100644
--- a/source/blender/blenkernel/intern/fracture.c
+++ b/source/blender/blenkernel/intern/fracture.c
@@ -5883,10 +5883,10 @@ void BKE_fracture_initialize(FractureModifierData *fmd, Object *ob, Mesh *dm, De
}
fmd->face_pairs = BLI_ghash_int_new("face_pairs");
- }
- /*HERE we must know which shard(s) to fracture... hmm shards... we should "merge" states which happen in the same frame automatically !*/
- BKE_fracture_do(fmd, -1, ob, dm, depsgraph, G.main);
+ /*HERE we must know which shard(s) to fracture... hmm shards... we should "merge" states which happen in the same frame automatically !*/
+ BKE_fracture_do(fmd, -1, ob, dm, depsgraph, G.main);
+ }
}
Shard* BKE_fracture_shard_copy(Shard *s)
diff --git a/source/blender/modifiers/intern/MOD_fracture.c b/source/blender/modifiers/intern/MOD_fracture.c
index ea07e581b47..d2039191a38 100644
--- a/source/blender/modifiers/intern/MOD_fracture.c
+++ b/source/blender/modifiers/intern/MOD_fracture.c
@@ -441,6 +441,7 @@ static void updateDepsgraph(ModifierData *md, const ModifierUpdateDepsgraphConte
/* We need own transformation as well. */
//DEG_add_object_relation(ctx->node, ctx->object, DEG_OB_COMP_TRANSFORM, "Fracture Modifier");
+ //DEG_add_object_relation(ctx->node, ctx->object, DEG_OB_COMP_GEOMETRY, "Fracture Modifier");
}
static void foreachObjectLink(
More information about the Bf-blender-cvs
mailing list