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:
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user