[Bf-blender-cvs] [7c1171c246a] blender2.8: Replace `BKE_bvhtree_from_mesh_looptri` with `BKE_bvhtree_from_mesh_get`.

Germano noreply at git.blender.org
Sat May 12 16:53:39 CEST 2018


Commit: 7c1171c246a2894066d38d4421c92f40e6485e68
Author: Germano
Date:   Sat May 12 11:53:27 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB7c1171c246a2894066d38d4421c92f40e6485e68

Replace `BKE_bvhtree_from_mesh_looptri` with `BKE_bvhtree_from_mesh_get`.

Must have had a conflict in commit rB82d59c6588d7 when merging branchs.

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

M	source/blender/editors/armature/meshlaplacian.c

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

diff --git a/source/blender/editors/armature/meshlaplacian.c b/source/blender/editors/armature/meshlaplacian.c
index 31f31460dfe..aa0e13a3e16 100644
--- a/source/blender/editors/armature/meshlaplacian.c
+++ b/source/blender/editors/armature/meshlaplacian.c
@@ -1447,7 +1447,7 @@ static void harmonic_coordinates_bind(Scene *UNUSED(scene), MeshDeformModifierDa
 	mdb->totalphi = MEM_callocN(sizeof(float) * mdb->size3, "MeshDeformBindTotalPhi");
 	mdb->boundisect = MEM_callocN(sizeof(*mdb->boundisect) * mdb->size3, "MDefBoundIsect");
 	mdb->semibound = MEM_callocN(sizeof(int) * mdb->size3, "MDefSemiBound");
-	mdb->bvhtree = BKE_bvhtree_from_mesh_looptri(&mdb->bvhdata, mdb->cagemesh, FLT_EPSILON * 100, 4, 6);
+	mdb->bvhtree = BKE_bvhtree_from_mesh_get(&mdb->bvhdata, mdb->cagemesh, BVHTREE_FROM_LOOPTRI, 4);
 	mdb->inside = MEM_callocN(sizeof(int) * mdb->totvert, "MDefInside");
 
 	if (mmd->flag & MOD_MDEF_DYNAMIC_BIND)



More information about the Bf-blender-cvs mailing list