diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-04-26 14:20:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-04-26 14:26:45 +0300 |
commit | 3524676036c370822344f1c80b191d34644b3745 (patch) | |
tree | c9869fe81e96d6f53a7f78fd1326a64a9019abec | |
parent | 2069187a1bd9483d435b1725bd2641e3fc049f63 (diff) |
BMesh: increase subdiv smooth strength
Now 1.0 gives near spherical output
-rw-r--r-- | source/blender/bmesh/operators/bmo_subdivide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_subdivide.c b/source/blender/bmesh/operators/bmo_subdivide.c index 6f3f84a3f9b..410da65f828 100644 --- a/source/blender/bmesh/operators/bmo_subdivide.c +++ b/source/blender/bmesh/operators/bmo_subdivide.c @@ -183,7 +183,7 @@ static void alter_co( float fac, len, val; sub_v3_v3v3(dir, v_a->co, v_b->co); - len = 0.5f * normalize_v3(dir); + len = M_SQRT1_2 * normalize_v3(dir); /* cosine angle */ fac = dot_v3v3(dir, v_a->no); |