Fix T38300: Bevel didn't always reconstruct faces properly.
With new subdivision method for making the vertex mesh, we always subdivide the edges between the new vertices around a vertex (we used to not subdivide edges between two non-beveled edges). This fixes a bug related to this change.
This commit is contained in:
parent
dcba34b411
commit
45b9822259
Notes:
blender-bot
2023-02-14 11:19:12 +01:00
Referenced by issue #38300, Bevel gives a hole with certain geometry
|
@ -3317,7 +3317,7 @@ static int bev_rebuild_polygon(BMesh *bm, BevelParams *bp, BMFace *f)
|
|||
BLI_array_append(vv_fix, bmv);
|
||||
}
|
||||
}
|
||||
else if (bp->vertex_only && vm->mesh_kind == M_ADJ_SUBDIV && vm->seg > 1) {
|
||||
else if (vm->mesh_kind == M_ADJ_SUBDIV && vm->seg > 1 && !e->is_bev && !eprev->is_bev) {
|
||||
BLI_assert(v->prev == vend);
|
||||
i = vend->index;
|
||||
for (k = vm->seg - 1; k > 0; k--) {
|
||||
|
|
Loading…
Reference in New Issue