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:
authorDalai Felinto <dfelinto@gmail.com>2018-09-25 23:33:15 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-09-26 01:18:30 +0300
commitb75648694c5e831c624166c45c0cfb77c64812b7 (patch)
tree85e457a96b103c5e8570f5d1c50065ca413c48cf /source/blender/editors/mesh/editmesh_select_similar.c
parentebe955b1c8c5a650c70e906c0f610fa83a0782f3 (diff)
Cleanup comments on select similar edge
Diffstat (limited to 'source/blender/editors/mesh/editmesh_select_similar.c')
-rw-r--r--source/blender/editors/mesh/editmesh_select_similar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/mesh/editmesh_select_similar.c b/source/blender/editors/mesh/editmesh_select_similar.c
index 144f5445d08..6d68a7a5c39 100644
--- a/source/blender/editors/mesh/editmesh_select_similar.c
+++ b/source/blender/editors/mesh/editmesh_select_similar.c
@@ -283,13 +283,13 @@ static bool edge_data_value_set(BMEdge *edge, const int hflag, int *r_value)
return *r_value != SIMEDGE_DATA_ALL;
}
-/* Note/TODO(dfelinto) technically SIMEDGE_FACE_ANGLE should compare the angles in world space.
- * Although doable this is overkill - at least for the initial multi-objects implementation. */
+/* TODO(dfelinto): `types` that should technically be compared in world space but are not:
+ * -SIMEDGE_FACE_ANGLE
+ */
static int similar_edge_select_exec(bContext *C, wmOperator *op)
{
ViewLayer *view_layer = CTX_data_view_layer(C);
- /* get the type from RNA */
const int type = RNA_enum_get(op->ptr, "type");
const float thresh = RNA_float_get(op->ptr, "threshold");
const float thresh_radians = thresh * (float)M_PI + FLT_EPSILON;