Commit: cc30793a76fa058f53ed43f7515c6417128ffebe
Author: Rohan Rathi
Date:   Sat Aug 4 22:38:54 2018 +0530
Branches: soc-2018-bevel
https://developer.blender.org/rBcc30793a76fa058f53ed43f7515c6417128ffebe

Added comments to seam and sharp len, removed unused var

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

M       source/blender/bmesh/tools/bmesh_bevel.c

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

diff --git a/source/blender/bmesh/tools/bmesh_bevel.c 
b/source/blender/bmesh/tools/bmesh_bevel.c
index bcf44ad4384..f9555b324c3 100644
--- a/source/blender/bmesh/tools/bmesh_bevel.c
+++ b/source/blender/bmesh/tools/bmesh_bevel.c
@@ -152,8 +152,8 @@ typedef struct BoundVert {
        Profile profile;    /* edge profile between this and next BoundVert */
        bool any_seam;      /* are any of the edges attached here seams? */
        bool visited;       /* used during delta adjust pass */
-       int seam_len;
-       int sharp_len;
+       int seam_len;           /* length of seam starting from current 
boundvert to next boundvert with ccw ordering */
+       int sharp_len;          /* Same as seam_len but defines length of sharp 
edges */
 //     int _pad;
 } BoundVert;
 
@@ -185,7 +185,6 @@ typedef struct BevVert {
        EdgeHalf *edges;        /* array of size edgecount; CCW order from 
vertex normal side */
        BMEdge **wire_edges;    /* array of size wirecount of wire edges */
        VMesh *vmesh;           /* mesh structure for replacing vertex */
-       bool fix_shading;
 } BevVert;
 
 /* Bevel parameters and state */
@@ -3209,8 +3208,6 @@ static VMesh *adj_vmesh(BevelParams *bp, BevVert *bv)
                return tri_corner_adj_vmesh(bp, bv);
        }
 
-       bv->fix_shading = true;
-
        /* First construct an initial control mesh, with nseg==2 */
        ns = bv->vmesh->seg;
        vm0 = new_adj_vmesh(mem_arena, n, 2, bv->vmesh->boundstart);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to