diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-23 13:15:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-09-23 13:19:46 +0300 |
commit | abfc9e59e251e77533569135a14d72465b2ba468 (patch) | |
tree | 8c476df94f5ddb7ee20c4cee16074a592cf56c45 /source/blender | |
parent | 0ec814c91d82eca135354abc38889e2bfb64dd9a (diff) |
Fix T46217: Make normal artifacts
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/DerivedMesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c index c48e5cf488b..62b74af1674 100644 --- a/source/blender/blenkernel/intern/DerivedMesh.c +++ b/source/blender/blenkernel/intern/DerivedMesh.c @@ -3052,7 +3052,7 @@ static void GetNormal(const SMikkTSpaceContext *pContext, float r_no[3], const i } } else { - const short *no = pMesh->mvert[pMesh->mloop[lt->tri[0]].v].no; + const short *no = pMesh->mvert[pMesh->mloop[lt->tri[vert_index]].v].no; normal_short_to_float_v3(r_no, no); } } |