Revert "Fix T71137: curve minimum twist producing wrong geometry"

This reverts commit 36a82314a0.
as it has broken tests for the last day and a half, it likely just
needs a test file update, but we can't keep this failing longer
than it already has.
This commit is contained in:
Ray molenkamp 2023-01-25 10:58:42 -07:00
parent 2f9346bc0a
commit 9ad051140c
Notes: blender-bot 2023-02-14 06:21:59 +01:00
Referenced by issue #71137, off-by-one bug in spline interpolation produces wrong geometry
1 changed files with 1 additions and 1 deletions

View File

@ -2260,7 +2260,7 @@ static void make_bevel_list_3D_minimum_twist(BevList *bl)
nr = bl->nr;
while (nr--) {
if (nr + 1 >= bl->nr) { /* First time, otherwise first point adjusts last. */
if (nr + 3 > bl->nr) { /* first time and second time, otherwise first point adjusts last */
vec_to_quat(bevp1->quat, bevp1->dir, 5, 1);
}
else {