Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-04-21 17:13:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-21 17:16:26 +0300
commit3a3f80673cde9e4e9ca5f9d28b48b1c0587bbbea (patch)
tree2a5e9a17afe6964677e6eb76ffba14f163dc8cfd /source/blender/editors/mesh
parentde687b6fa02138146294c0a9a810c5234f1ac0dc (diff)
Cleanup: minor corrections
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_select.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c
index 92c7dde1f6f..f3e3bd9e7c0 100644
--- a/source/blender/editors/mesh/editmesh_select.c
+++ b/source/blender/editors/mesh/editmesh_select.c
@@ -421,7 +421,7 @@ static void findnearestvert__doClosest(void *userData, BMVert *eve, const float
* \param use_select_bias
* - When true, selected vertice are given a 5 pixel bias to make them further than unselect verts.
* - When false, unselected vertice are given the bias.
- * \param is_strict When true, the vertice corresponding to the sel parameter are ignored and not just biased
+ * \param use_cycle Cycle over elements within #FIND_NEAR_CYCLE_THRESHOLD_MIN in order of index.
*/
BMVert *EDBM_vert_find_nearest_ex(
ViewContext *vc, float *r_dist,
@@ -590,7 +590,7 @@ BMEdge *EDBM_edge_find_nearest_ex(
else {
struct NearestEdgeUserData data = {{0}};
const struct NearestEdgeUserData_Hit *hit;
- /* interpolate along the edge before doing a boundbox check */
+ /* interpolate along the edge before doing a clipping plane test */
const eV3DProjTest clip_flag = V3D_PROJ_TEST_CLIP_DEFAULT & ~V3D_PROJ_TEST_CLIP_BB;
static int prev_select_index = 0;
@@ -788,6 +788,9 @@ BMFace *EDBM_face_find_nearest(ViewContext *vc, float *r_dist)
return EDBM_face_find_nearest_ex(vc, r_dist, false, false, NULL);
}
+#undef FIND_NEAR_SELECT_BIAS
+#undef FIND_NEAR_CYCLE_THRESHOLD_MIN
+
/* best distance based on screen coords.
* use em->selectmode to define how to use