diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2018-08-13 16:25:16 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2018-08-13 16:25:16 +0300 |
commit | aac5458fa5800cc6c0a7243c1baa13d8190fa4b0 (patch) | |
tree | 43026e78e3bd7c2d8cc6785c01a2242d033b1845 | |
parent | cead9abe074cdb53807dd1f978af020f494465e4 (diff) |
Fix bevel problem for vertex-only cube corners.
Was introduced by code from gsoc branch that does better job
on cube corners, but shouldn't have applied to vertex-only case.
-rw-r--r-- | source/blender/bmesh/tools/bmesh_bevel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c index 0415526574d..90e4033d572 100644 --- a/source/blender/bmesh/tools/bmesh_bevel.c +++ b/source/blender/bmesh/tools/bmesh_bevel.c @@ -3158,6 +3158,8 @@ static int tri_corner_test(BevelParams *bp, BevVert *bv) int i; int in_plane_e = 0; + if (bp->vertex_only) + return -1; totang = 0.0f; for (i = 0; i < bv->edgecount; i++) { e = &bv->edges[i]; |