Fix T67196: bevel bad at a 3-edge bevel.

The test for whether or not this was a "pipe" neglected to use
fabsf() around a dot result.
This commit is contained in:
Howard Trickey
2019-07-20 08:38:41 -04:00
parent c2e8e249ac
commit 4b980e2f57

View File

@@ -3201,7 +3201,7 @@ static BoundVert *pipe_test(BevVert *bv)
/* check face planes: all should have normals perpendicular to epipe */
for (e = &bv->edges[0]; e != &bv->edges[bv->edgecount]; e++) {
if (e->fnext) {
if (dot_v3v3(dir1, e->fnext->no) > BEVEL_EPSILON_BIG) {
if (fabsf(dot_v3v3(dir1, e->fnext->no)) > BEVEL_EPSILON_BIG) {
return NULL;
}
}