[Bf-blender-cvs] [2a47900fc6a] temp-lanpr-cleanup: Fix T70109: Crash with the Data Transfer Modifier (with any 'Edge Data' option)

mano-wii noreply at git.blender.org
Wed Sep 25 03:49:19 CEST 2019


Commit: 2a47900fc6a6021ee5b30069be413f8046b82ad1
Author: mano-wii
Date:   Fri Sep 20 12:18:22 2019 -0300
Branches: temp-lanpr-cleanup
https://developer.blender.org/rB2a47900fc6a6021ee5b30069be413f8046b82ad1

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