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

This reverts commit 36a82314a0f5de65b54f6d8343a2899ed4e37010.
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

@ -2260,7 +2260,7 @@ static void make_bevel_list_3D_minimum_twist(BevList *bl)
nr = bl->nr; nr = bl->nr;
while (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); vec_to_quat(bevp1->quat, bevp1->dir, 5, 1);
} }
else { else {