[Bf-blender-cvs] [201865b6f7e] master: Cleanup: update old comments

Campbell Barton noreply at git.blender.org
Tue Feb 9 23:40:16 CET 2021


Commit: 201865b6f7e5a55fbbdc6d524f2001f1a13bea8b
Author: Campbell Barton
Date:   Wed Feb 10 09:37:11 2021 +1100
Branches: master
https://developer.blender.org/rB201865b6f7e5a55fbbdc6d524f2001f1a13bea8b

Cleanup: update old comments

===================================================================

M	source/blender/bmesh/intern/bmesh_interp.c
M	source/blender/editors/uvedit/uvedit_smart_stitch.c

===================================================================

diff --git a/source/blender/bmesh/intern/bmesh_interp.c b/source/blender/bmesh/intern/bmesh_interp.c
index a15408d43be..6857a1f3929 100644
--- a/source/blender/bmesh/intern/bmesh_interp.c
+++ b/source/blender/bmesh/intern/bmesh_interp.c
@@ -342,8 +342,12 @@ static void mdisp_axis_from_quad(const float v1[3],
   normalize_v3(r_axis_y);
 }
 
-/* tl is loop to project onto, l is loop whose internal displacement, co, is being
- * projected.  x and y are location in loop's mdisps grid of point co. */
+/**
+ * \param l_src: is loop whose internal displacement.
+ * \param l_dst: is loop to project onto.
+ * \param p: The point being projected.
+ * \param r_axis_x, r_axis_y: The location in loop's #CD_MDISPS grid of point `p`.
+ */
 static bool mdisp_in_mdispquad(BMLoop *l_src,
                                BMLoop *l_dst,
                                const float l_dst_f_center[3],
diff --git a/source/blender/editors/uvedit/uvedit_smart_stitch.c b/source/blender/editors/uvedit/uvedit_smart_stitch.c
index 5c4dc90f112..8ebf000baaa 100644
--- a/source/blender/editors/uvedit/uvedit_smart_stitch.c
+++ b/source/blender/editors/uvedit/uvedit_smart_stitch.c
@@ -129,8 +129,10 @@ typedef struct UvEdge {
   /** general use flag
    * (Used to check if edge is boundary here, and propagates to adjacency elements) */
   uchar flag;
-  /** element that guarantees element->face
-   * has the edge on element->tfindex and element->tfindex+1 is the second uv */
+  /**
+   * Element that guarantees `element.l` has the edge on
+   * `element.loop_of_poly_index` and `element->loop_of_poly_index + 1` is the second UV.
+   */
   UvElement *element;
   /** next uv edge with the same exact vertices as this one.
    * Calculated at startup to save time */



More information about the Bf-blender-cvs mailing list