Commit: 43ac0f38d72a33cf6721909f3f671ac2dac6ffe3
Author: Rohan Rathi
Date:   Tue Jul 17 18:57:22 2018 +0530
Branches: soc-2018-bevel
https://developer.blender.org/rB43ac0f38d72a33cf6721909f3f671ac2dac6ffe3

Fix weld incoherent normals with weld operation

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

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 c8a82eac743..8a72ffc775f 100644
--- a/source/blender/bmesh/tools/bmesh_bevel.c
+++ b/source/blender/bmesh/tools/bmesh_bevel.c
@@ -4069,6 +4069,13 @@ static void bevel_vert_two_edges(BevelParams *bp, BMesh 
*bm, BevVert *bv)
                                flag_out_edge(bm, bme);
                }
        }
+       else if (bp->faceHash) {
+               BMFace *f;
+               BMIter fiter;
+               BM_ITER_ELEM(f, &fiter, bv->v, BM_FACES_OF_VERT) {
+                       BLI_ghash_insert(bp->faceHash, f, NULL);
+               }
+       }
 }
 
 /* Given that the boundary is built, now make the actual BMVerts

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

Reply via email to