Cycles: rename UV geometry node output to Parametric to avoid confusion with uv texture coordinates.

This commit is contained in:
Brecht Van Lommel
2011-05-04 15:22:15 +00:00
parent cf00171da5
commit 6778ea39d5
3 changed files with 7 additions and 7 deletions

View File

@@ -1251,7 +1251,7 @@ GeometryNode::GeometryNode()
add_output("Tangent", SHADER_SOCKET_NORMAL);
add_output("True Normal", SHADER_SOCKET_NORMAL);
add_output("Incoming", SHADER_SOCKET_VECTOR);
add_output("UV", SHADER_SOCKET_POINT);
add_output("Parametric", SHADER_SOCKET_POINT);
add_output("Backfacing", SHADER_SOCKET_FLOAT);
}
@@ -1295,7 +1295,7 @@ void GeometryNode::compile(SVMCompiler& compiler)
compiler.add_node(geom_node, NODE_GEOM_I, out->stack_offset);
}
out = output("UV");
out = output("Parametric");
if(!out->links.empty()) {
compiler.stack_assign(out);
compiler.add_node(geom_node, NODE_GEOM_uv, out->stack_offset);