Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-05 02:31:32 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-11-05 02:31:32 +0400
commit2ba840652de83e0f546baaf0e10836bd6571731f (patch)
tree904321ea5fdfed97c02718236eb7645552e82bc0 /intern/cycles/blender
parent110a36a8ab4cf688e6f2b6ec7398f8473a4896b9 (diff)
Cycles: improve Anisotropic BSDF node, changing the Roughness U/V inputs to
Roughness, Anisotropy and Rotation. Also a fix for automatic tangents and OSL attribute handling. Meaning of new sockets explained in the documentation: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Anisotropic
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r--intern/cycles/blender/blender_mesh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_mesh.cpp b/intern/cycles/blender/blender_mesh.cpp
index b1b1a638219..a0feec90203 100644
--- a/intern/cycles/blender/blender_mesh.cpp
+++ b/intern/cycles/blender/blender_mesh.cpp
@@ -141,7 +141,7 @@ static void mikk_compute_tangents(BL::Mesh b_mesh, BL::MeshTextureFaceLayer b_la
/* create attribute */
/* todo: create float4 attribute for sign */
- Attribute *attr = mesh->attributes.add(ATTR_STD_TANGENT, ustring("Tangent"));
+ Attribute *attr = mesh->attributes.add(ATTR_STD_TANGENT, ustring("tangent"));
float3 *tangent = attr->data_float3();
for (int i = 0; i < nverts.size(); i++) {