diff options
-rw-r--r-- | source/blender/blenkernel/intern/bvhutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/bvhutils.c b/source/blender/blenkernel/intern/bvhutils.c index 23b730c93cb..d0e0c82e3be 100644 --- a/source/blender/blenkernel/intern/bvhutils.c +++ b/source/blender/blenkernel/intern/bvhutils.c @@ -701,7 +701,7 @@ static void bvhtree_from_mesh_edges_setup_data( data->tree = tree; if (data->tree) { - data->cached = true; + data->cached = is_cached; data->nearest_callback = mesh_edges_nearest_point; data->raycast_callback = mesh_edges_spherecast; |