Fix T38936 Bevel strange flickering on big meshes.

Last change to bevel had a check for what was supposed
to be an "on edge" new vertex being off the edge.
The test tolerance was too small. This fixes that.
This commit is contained in:
Howard Trickey 2014-03-04 09:29:31 -05:00
parent 34c7fd1a11
commit 37ef7f3537
Notes: blender-bot 2023-02-14 11:05:01 +01:00
Referenced by issue #38936, Bevel: strange flickering on big meshes
1 changed files with 1 additions and 1 deletions

View File

@ -558,7 +558,7 @@ static bool is_outside_edge(EdgeHalf *e, const float co[3])
float d_squared;
d_squared = dist_squared_to_line_segment_v3(co, e->e->v1->co, e->e->v2->co);
return d_squared > BEVEL_EPSILON_SQ;
return d_squared > 10000.0f * BEVEL_EPSILON_SQ;
}
/*