forked from bartvdbraak/blender
fix for tangent curve flipping only doing 2d angle tests.
This commit is contained in:
parent
1e839ec8bc
commit
e369c2375b
@ -1900,7 +1900,7 @@ static void bevel_list_flip_tangents(BevList *bl)
|
|||||||
|
|
||||||
nr = bl->nr;
|
nr = bl->nr;
|
||||||
while (nr--) {
|
while (nr--) {
|
||||||
if (RAD2DEGF(angle_v2v2(bevp0->tan, bevp1->tan)) > 90.0f)
|
if (angle_normalized_v3v3(bevp0->tan, bevp1->tan) > DEG2RADF(90.0f))
|
||||||
negate_v3(bevp1->tan);
|
negate_v3(bevp1->tan);
|
||||||
|
|
||||||
bevp0 = bevp1;
|
bevp0 = bevp1;
|
||||||
|
Loading…
Reference in New Issue
Block a user