diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-04-12 11:30:19 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-04-12 11:30:19 +0300 |
commit | 2da3949e26f9828429eb55b00d83a5fad1157162 (patch) | |
tree | 40e40ff7ce97d78e84f7ff912650d495dfd60b53 | |
parent | 3b01edd52e8e28f425d76ae17ee50f3feed69d36 (diff) |
Fix second issue introduced in refactoring/cleanup of weighted normals.soc-2017-normal-tools
'degenerated too short normals' check was probably a bit too aggressive,
moved it back to more common 1e-6 value.
-rw-r--r-- | source/blender/modifiers/intern/MOD_weighted_normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_weighted_normal.c b/source/blender/modifiers/intern/MOD_weighted_normal.c index 7e339f0012d..480e4ceaa7d 100644 --- a/source/blender/modifiers/intern/MOD_weighted_normal.c +++ b/source/blender/modifiers/intern/MOD_weighted_normal.c @@ -39,7 +39,7 @@ #include "MOD_modifiertypes.h" #include "MOD_util.h" -#define CLNORS_VALID_VEC_LEN (1e-4f) +#define CLNORS_VALID_VEC_LEN (1e-6f) typedef struct ModePair { float val; /* Contains mode based value (face area / corner angle). */ |