Fix some of the bevel regression tests.

The code changes for custom bevels did not recalculated profiles
in certain non-custom-profile cases after projection plane moves.
This commit is contained in:
Howard Trickey 2019-11-22 09:30:10 -05:00
parent 27127bf533
commit 1304cee920
1 changed files with 5 additions and 1 deletions

View File

@ -5492,7 +5492,11 @@ static void build_vmesh(BevelParams *bp, BMesh *bm, BevVert *bv)
}
else { /* Get the last of the two BoundVerts. */
weld2 = bndv;
move_weld_profile_planes(bv, weld1, weld2); /* Profile recalculated in next loop. */
move_weld_profile_planes(bv, weld1, weld2);
if (!bp->use_custom_profile) { /* Else profile recalculated in next loop. */
calculate_profile(bp, weld1, !weld1->is_profile_start, false);
calculate_profile(bp, weld2, !weld2->is_profile_start, false);
}
}
}
} while ((bndv = bndv->next) != vm->boundstart);