diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-09-26 05:59:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-09-26 05:59:23 +0300 |
commit | aba2f8ea67d8c886bbe29f47e44d9e6838e32f25 (patch) | |
tree | 1544a39632fab570ee199381ebf3175f1139f8c1 /source/blender/bmesh | |
parent | e40e29cd38afdfd3e5e60712f97c4c3f92874058 (diff) |
Beauty fill was skipping small faces
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_beautify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/tools/bmesh_beautify.c b/source/blender/bmesh/tools/bmesh_beautify.c index 78e3e66b70a..6e6242fc9f9 100644 --- a/source/blender/bmesh/tools/bmesh_beautify.c +++ b/source/blender/bmesh/tools/bmesh_beautify.c @@ -150,7 +150,7 @@ static float bm_edge_calc_rotate_beauty__area( (ELEM(v4, v1, v2, v3) == false)); add_v3_v3v3(no, no_a, no_b); - if (UNLIKELY((no_scale = normalize_v3(no)) <= FLT_EPSILON)) { + if (UNLIKELY((no_scale = normalize_v3(no)) == 0.0f)) { break; } |