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>2019-03-19 19:14:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-19 19:14:50 +0300
commit3b04a867b928cba3fe167a9d563de662618d4af3 (patch)
tree74cc121ac1d85c832b77a49c24dd68b6588e12a3 /source/blender/editors/mesh
parent57395061042fe336dae7ee33e3ae11e53d068194 (diff)
Cleanup: correct comment
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_select_similar.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/mesh/editmesh_select_similar.c b/source/blender/editors/mesh/editmesh_select_similar.c
index 98808fc6df3..b4504626990 100644
--- a/source/blender/editors/mesh/editmesh_select_similar.c
+++ b/source/blender/editors/mesh/editmesh_select_similar.c
@@ -138,10 +138,7 @@ static bool face_data_value_set(BMFace *face, const int hflag, int *r_value)
}
/**
- * Note: This is not normal, but the face direction itself and always in
- * a positive quadrant (tries z, y then x).
- * Also, unlike edge_pos_direction_worldspace_get we don't normalize the direction.
- * In fact we scale the direction by the distance of the face center to the origin.
+ * World space normalized plane from a face.
*/
static void face_to_plane(const Object *ob, BMFace *face, float r_plane[4])
{
@@ -151,7 +148,6 @@ static void face_to_plane(const Object *ob, BMFace *face, float r_plane[4])
normalize_v3(normal);
mul_v3_m4v3(co, ob->obmat, BM_FACE_FIRST_LOOP(face)->v->co);
plane_from_point_normal_v3(r_plane, co, normal);
-
}
/* TODO(dfelinto): `types` that should technically be compared in world space but are not: