Param `is_cached` not being used in` bvhtree_from_mesh_edges_setup_data`

This could cause bugs in the memory release
This commit is contained in:
Germano Cavalcante 2017-02-07 11:03:10 -03:00
parent 03544eccb4
commit 03be3102c7
1 changed files with 1 additions and 1 deletions

View File

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