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:
Germano Cavalcante 2019-09-20 12:18:22 -03:00
parent f0ec7c2ec6
commit 8c60205bef
Notes: blender-bot 2023-02-14 00:44:01 +01:00
Referenced by issue #70109, Crash with the Data Transfer Modifier (with any 'Edge Data' option)
1 changed files with 1 additions and 1 deletions

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;