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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to