diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-16 21:15:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-16 21:15:24 +0300 |
commit | 9d090c4717f349e027cd68bcdcbd3e54639b6757 (patch) | |
tree | 8b92c3a4964f893d3b0585342a9209d66a4dfc33 /source/blender/editors/sculpt_paint | |
parent | 595a491e63d6f3f3462675d38cfa71b4e784fe9c (diff) |
Split ray_face_intersection into quad/tri versions
Since many callers only need a single triangle
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 21d3551687b..ee7169d887e 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -4132,7 +4132,7 @@ static void sculpt_raycast_detail_cb(PBVHNode *node, void *data_v, float *tmin) if (BKE_pbvh_node_get_tmin(node) < *tmin) { SculptDetailRaycastData *srd = data_v; if (BKE_pbvh_bmesh_node_raycast_detail(node, srd->ray_start, srd->ray_normal, - &srd->detail, &srd->dist)) + &srd->dist, &srd->detail)) { srd->hit = 1; *tmin = srd->dist; |