Cycles: add dedicated UV Map node, easier to find and has convenient auto complete.

Fixes T37954.

Reviewed By: brecht, dingto

Differential Revision: https://developer.blender.org/D230
This commit is contained in:
Kevin Dietrich
2014-04-02 11:40:29 +02:00
committed by Brecht Van Lommel
parent 288147334c
commit cb7cfd3ab6
17 changed files with 217 additions and 1 deletions

View File

@@ -649,6 +649,11 @@ static void xml_read_shader_graph(const XMLReadState& state, Shader *shader, pug
xml_read_ustring(&attr->attribute, node, "attribute");
snode = attr;
}
else if(string_iequals(node.name(), "uv_map")) {
UVMapNode *uvm = new UVMapNode();
xml_read_ustring(&uvm->attribute, node, "uv_map");
snode = uvm;
}
else if(string_iequals(node.name(), "camera")) {
snode = new CameraNode();
}