diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2014-03-04 18:29:31 +0400 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2014-03-04 18:31:20 +0400 |
commit | 37ef7f35375dae01ad8fa2e399f2663b35bc9665 (patch) | |
tree | c98ab77ea5fedf0f98716f57f80d28bee6168454 /source/blender/bmesh/tools | |
parent | 34c7fd1a1120aee8e367bfe7336ca78e2b3e5f8b (diff) |
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.
Diffstat (limited to 'source/blender/bmesh/tools')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_bevel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c index dcb604056fa..4aa55d9324b 100644 --- a/source/blender/bmesh/tools/bmesh_bevel.c +++ b/source/blender/bmesh/tools/bmesh_bevel.c @@ -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; } /* |