Fix T70109: Crash with the Data Transfer Modifier (with any 'Edge Data' option)

The BVHTree was erroneously marked as not cached.
This commit is contained in:
mano-wii
2019-09-20 12:18:22 -03:00
parent f0ec7c2ec6
commit 8c60205bef

View File

@@ -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;