From e732c5809c2be01a0c622987bf9fbe7b37d3ed4c Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Sat, 22 Mar 2014 23:35:07 +0200 Subject: Detail sampling operator Located on topology panel. To use just click on button and click on mesh. Operator will just use the dimensions of the triangles below to set the constant detail setting. Also changed pair of scale/detail size with nice separate float percentage value. --- source/blender/blenkernel/intern/pbvh_intern.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenkernel/intern/pbvh_intern.h') diff --git a/source/blender/blenkernel/intern/pbvh_intern.h b/source/blender/blenkernel/intern/pbvh_intern.h index d4cd6bcf9d8..75d2a8333a1 100644 --- a/source/blender/blenkernel/intern/pbvh_intern.h +++ b/source/blender/blenkernel/intern/pbvh_intern.h @@ -185,6 +185,9 @@ int pbvh_bmesh_node_raycast(PBVHNode *node, const float ray_start[3], const float ray_normal[3], float *dist, int use_original); +int pbvh_bmesh_node_raycast_detail(PBVHNode *node, const float ray_start[3], + const float ray_normal[3], float *detail, float *dist); + void pbvh_bmesh_normals_update(PBVHNode **nodes, int totnode); #endif -- cgit v1.2.3