diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-05-24 14:16:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-05-24 14:17:05 +0300 |
commit | a6c60affffc99270e94a123092d8b9c0942cccaa (patch) | |
tree | 19125fb8d6ecab8166d7773de57b341fbbc842d4 /source/blender/blenkernel/intern/DerivedMesh.c | |
parent | 60a099fb0958c1c0dd16f2800da6cac551e35c2c (diff) | |
parent | d252ac6b9528d60b1235e095888f91e202ac4399 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/blenkernel/intern/DerivedMesh.c')
-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 454c1586ef3..150a919bf6b 100644 --- a/source/blender/blenkernel/intern/DerivedMesh.c +++ b/source/blender/blenkernel/intern/DerivedMesh.c @@ -3461,7 +3461,7 @@ void DM_calc_loop_tangents( * have to check this is valid... */ mesh2tangent->precomputedLoopNormals = dm->getLoopDataArray(dm, CD_NORMAL); - mesh2tangent->precomputedFaceNormals = CustomData_get_layer(&dm->faceData, CD_NORMAL); + mesh2tangent->precomputedFaceNormals = CustomData_get_layer(&dm->polyData, CD_NORMAL); mesh2tangent->orco = NULL; mesh2tangent->mloopuv = CustomData_get_layer_named(&dm->loopData, CD_MLOOPUV, dm->loopData.layers[index].name); |