Cleanup: Rename bmesh detail size raycast function

Pull Request: https://projects.blender.org/blender/blender/pulls/127954
This commit is contained in:
Sean Kim
2024-09-21 22:20:00 +02:00
committed by Sean Kim
parent fc8a163892
commit e908a9d39e
3 changed files with 3 additions and 3 deletions

View File

@@ -355,7 +355,7 @@ bool node_raycast_bmesh(BMeshNode &node,
BMVert **r_active_vertex,
float3 &r_face_normal);
bool bmesh_node_raycast_detail(BMeshNode &node,
bool raycast_node_detail_bmesh(BMeshNode &node,
const float3 &ray_start,
IsectRayPrecalc *isect_precalc,
float *depth,

View File

@@ -1929,7 +1929,7 @@ bool node_raycast_bmesh(BMeshNode &node,
return hit;
}
bool bmesh_node_raycast_detail(BMeshNode &node,
bool raycast_node_detail_bmesh(BMeshNode &node,
const float3 &ray_start,
IsectRayPrecalc *isect_precalc,
float *depth,

View File

@@ -235,7 +235,7 @@ static void sculpt_raycast_detail_cb(bke::pbvh::BMeshNode &node,
float *tmin)
{
if (BKE_pbvh_node_get_tmin(&node) < *tmin) {
if (bke::pbvh::bmesh_node_raycast_detail(
if (bke::pbvh::raycast_node_detail_bmesh(
node, srd.ray_start, &srd.isect_precalc, &srd.depth, &srd.edge_length))
{
srd.hit = true;