diff options
author | Rohan Rathi <rohanrathi08@gmail.com> | 2018-07-17 16:27:22 +0300 |
---|---|---|
committer | Rohan Rathi <rohanrathi08@gmail.com> | 2018-07-17 16:27:22 +0300 |
commit | 43ac0f38d72a33cf6721909f3f671ac2dac6ffe3 (patch) | |
tree | aca1954f9e2b256f88a6bfe59135fde94baca450 | |
parent | 10c1f3fbfeadf009bac8b7f145ae6d55be0f30be (diff) |
Fix weld incoherent normals with weld operation
-rw-r--r-- | source/blender/bmesh/tools/bmesh_bevel.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 |