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:
parent
03544eccb4
commit
03be3102c7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue