diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-28 16:00:36 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-28 16:00:36 +0400 |
commit | 0559630c7e4cbc9dce4e2998c9b8e52e6b2115f0 (patch) | |
tree | 83b2c71427be604fc347376802721f7eb8e3237f /source/blender/blenkernel/intern | |
parent | 285137cefbedbf3301e61cf15612282d6c227444 (diff) |
fix for missing normalize with recent optimizations.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/mesh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index db0fee54d39..6feb39bd836 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -1963,6 +1963,7 @@ static void mesh_calc_normals_poly_accum(MPoly *mp, MLoop *ml, /* Unrelated to normalize, calcualte edge-vector */ sub_v3_v3v3(edgevecbuf[i_prev], v_prev, v_curr); + normalize_v3(edgevecbuf[i_prev]); i_prev = i; v_prev = v_curr; |