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.
This commit is contained in:
Howard Trickey 2018-08-13 09:25:16 -04:00
parent cead9abe07
commit aac5458fa5
Notes: blender-bot 2023-02-14 11:20:29 +01:00
Referenced by issue #56223, Crashing from copying bone properties
1 changed files with 2 additions and 0 deletions

View File

@ -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];