diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-21 15:38:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-21 15:46:33 +0300 |
commit | 03eee4dce75960c6a789f86120d598985b6f22cf (patch) | |
tree | 2c36e27f74b7bdf820d038ceb24949d27d5d7bae /source/blender | |
parent | 4b8dcfc0f545c3ab879bf88230725472c1c288ae (diff) |
BMesh: decrease decimate epsilon
Since using doubles to calculate cost,
using topology fallback cost isn't needed as much.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_decimate_collapse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/tools/bmesh_decimate_collapse.c b/source/blender/bmesh/tools/bmesh_decimate_collapse.c index 9b35414f9e6..1073ce7fb96 100644 --- a/source/blender/bmesh/tools/bmesh_decimate_collapse.c +++ b/source/blender/bmesh/tools/bmesh_decimate_collapse.c @@ -50,7 +50,7 @@ /* if the cost from #BLI_quadric_evaluate is 'noise', fallback to topology */ #define USE_TOPOLOGY_FALLBACK #ifdef USE_TOPOLOGY_FALLBACK -# define TOPOLOGY_FALLBACK_EPS 1e-6f +# define TOPOLOGY_FALLBACK_EPS FLT_EPSILON #endif /* these checks are for rare cases that we can't avoid since they are valid meshes still */ |