Cleanup: Rename bmesh detail size raycast function
Pull Request: https://projects.blender.org/blender/blender/pulls/127954
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user