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:
parent
cead9abe07
commit
aac5458fa5
Notes:
blender-bot
2023-02-14 11:20:29 +01:00
Referenced by issue #56223, Crashing from copying bone properties
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue