diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-02 19:51:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-02 19:52:30 +0300 |
commit | a744fedc859cb528d69d3e267dc98c45bd993ede (patch) | |
tree | 57ba2ef1e2570a33b5ebf11a9f845b93be4469f2 /source/blender | |
parent | 26d5fae2841d098d0e3be3b02d5d09458512c3a5 (diff) |
Fix T68129: Bridge edge loops fails on small edge loops
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_edgeloop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_edgeloop.c b/source/blender/bmesh/intern/bmesh_edgeloop.c index 2ca9c7e6340..49c71bf8298 100644 --- a/source/blender/bmesh/intern/bmesh_edgeloop.c +++ b/source/blender/bmesh/intern/bmesh_edgeloop.c @@ -45,7 +45,9 @@ typedef struct BMEdgeLoopStore { } BMEdgeLoopStore; #define BM_EDGELOOP_IS_CLOSED (1 << 0) -#define EDGELOOP_EPS 0.00001f + +/* Use a small value since we need normals even for very small loops. */ +#define EDGELOOP_EPS 1e-10f /* -------------------------------------------------------------------- */ /* BM_mesh_edgeloops_find & Util Functions */ |