diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-20 18:19:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-21 05:05:27 +0400 |
commit | 37242e6b0b1897b3d265a25684eacccfec36ffd0 (patch) | |
tree | 802e6f1cc5ac9c8baabeb88ad60374b2f5713553 /source/blender/bmesh/tools/bmesh_bevel.c | |
parent | 5ece1594ca725b58960756cbe1ebd2b1123584b6 (diff) |
Code Cleanup: style
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_bevel.c')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_bevel.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c index 8ae71c24c67..3f71a6aa8a9 100644 --- a/source/blender/bmesh/tools/bmesh_bevel.c +++ b/source/blender/bmesh/tools/bmesh_bevel.c @@ -2984,12 +2984,17 @@ static void build_vmesh(BevelParams *bp, BMesh *bm, BevVert *bv) * just use the boundary point of the other */ if (weld1->profile.super_r == PRO_LINE_R && weld2->profile.super_r != PRO_LINE_R) + { copy_v3_v3(co, vb); + } else if (weld2->profile.super_r == PRO_LINE_R && - weld1->profile.super_r != PRO_LINE_R) + weld1->profile.super_r != PRO_LINE_R) + { copy_v3_v3(co, va); - else + } + else { mid_v3_v3v3(co, va, vb); + } copy_v3_v3(mesh_vert(vm, weld1->index, 0, k)->co, co); create_mesh_bmvert(bm, vm, weld1->index, 0, k, bv->v); } |