Fix T91810 Bevel not working well with certain unbeveled edge positions.

A previous commit, c56526d8b6, which sometimes didn't drop offsets
into 'in plane' faces, as a fix to T71329, was overly aggressive.
If all the intermediate edges are in the same plane then it is fine
to just put the meeting point on the plane of the start and end edges.
This commit is contained in:
Howard Trickey 2021-10-03 11:26:48 -04:00
parent 1833ebea31
commit 98fe05fb5b
Notes: blender-bot 2023-02-14 05:22:18 +01:00
Referenced by issue #91810, Bevel doesn't work with some certain position of a loop.
1 changed files with 3 additions and 1 deletions

View File

@ -3048,7 +3048,9 @@ static void build_boundary(BevelParams *bp, BevVert *bv, bool construct)
}
}
else {
offset_meet(bp, e, e2, bv->v, e->fnext, true, co, eip);
/* Since all edges between e and e2 are in the same plane, it is OK
* to treat this like the case where there are no edges between. */
offset_meet(bp, e, e2, bv->v, e->fnext, false, co, NULL);
}
}