diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-01-20 16:54:57 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-01-20 16:54:57 +0300 |
commit | 54d3506253fe6092cba2611a080390795e496dc4 (patch) | |
tree | 1da68e6361843a832a9a7a0cfdc0032d9f6a8aa0 /intern/cycles/blender/blender_mesh.cpp | |
parent | 6fa5d22109e276dd5f732f50445a4247a8f3c22b (diff) |
Fix error in rBa6eae7339190.
Diffstat (limited to 'intern/cycles/blender/blender_mesh.cpp')
-rw-r--r-- | intern/cycles/blender/blender_mesh.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/blender_mesh.cpp b/intern/cycles/blender/blender_mesh.cpp index 3ab6bd76060..182d830e729 100644 --- a/intern/cycles/blender/blender_mesh.cpp +++ b/intern/cycles/blender/blender_mesh.cpp @@ -414,8 +414,8 @@ static void attr_create_uv_map(Scene *scene, if(nverts[i] == 4) { fdata[0] = uvs[tri_b[0]]; - fdata[1] = uvs[tri_b[0]]; - fdata[2] = uvs[tri_b[0]]; + fdata[1] = uvs[tri_b[1]]; + fdata[2] = uvs[tri_b[2]]; fdata += 3; } } |