[Bf-blender-cvs] [8c60205bef3] master: Fix T70109: Crash with the Data Transfer Modifier (with any 'Edge Data' option)
mano-wii
noreply at git.blender.org
Fri Sep 20 17:18:32 CEST 2019
Commit: 8c60205bef314fe71df1116c76cd1ecf2e175580
Author: mano-wii
Date: Fri Sep 20 12:18:22 2019 -0300
Branches: master
https://developer.blender.org/rB8c60205bef314fe71df1116c76cd1ecf2e175580
Fix T70109: Crash with the Data Transfer Modifier (with any 'Edge Data' option)
The BVHTree was erroneously marked as not cached.
===================================================================
M source/blender/blenkernel/intern/bvhutils.c
===================================================================
diff --git a/source/blender/blenkernel/intern/bvhutils.c b/source/blender/blenkernel/intern/bvhutils.c
index 85a12027bf2..0a5952e1b47 100644
--- a/source/blender/blenkernel/intern/bvhutils.c
+++ b/source/blender/blenkernel/intern/bvhutils.c
@@ -1395,7 +1395,7 @@ BVHTree *BKE_bvhtree_from_mesh_get(struct BVHTreeFromMesh *data,
else {
/* Setup BVHTreeFromMesh */
bvhtree_from_mesh_edges_setup_data(
- data, tree, false, mesh->mvert, false, mesh->medge, false);
+ data, tree, true, mesh->mvert, false, mesh->medge, false);
}
break;
More information about the Bf-blender-cvs
mailing list