[Bf-blender-cvs] [4d82812] fracture_modifier: fix: for severe performance issue with fractal, did unnecessary unwrapping operations there
Martin Felke
noreply at git.blender.org
Tue Feb 10 22:38:06 CET 2015
Commit: 4d82812e137b06d3b559c87bb777f774dc086bc4
Author: Martin Felke
Date: Tue Feb 10 22:37:46 2015 +0100
Branches: fracture_modifier
https://developer.blender.org/rB4d82812e137b06d3b559c87bb777f774dc086bc4
fix: for severe performance issue with fractal, did unnecessary unwrapping operations there
===================================================================
M source/blender/blenkernel/intern/fracture_util.c
===================================================================
diff --git a/source/blender/blenkernel/intern/fracture_util.c b/source/blender/blenkernel/intern/fracture_util.c
index 9578016..e4dbe08 100644
--- a/source/blender/blenkernel/intern/fracture_util.c
+++ b/source/blender/blenkernel/intern/fracture_util.c
@@ -339,11 +339,9 @@ Shard *BKE_fracture_shard_boolean(Object *obj, DerivedMesh *dm_parent, Shard *ch
else
{
left_dm = BKE_shard_create_dm(child, false);
+ unwrap_shard_dm(left_dm);
}
-
- unwrap_shard_dm(left_dm);
-
/* set inner material on child shard */
if (other == NULL)
{
More information about the Bf-blender-cvs
mailing list