Cycles: GLSL materials now can use multiple UV maps with the attribute node.

This commit is contained in:
Brecht Van Lommel
2013-06-05 15:54:39 +00:00
parent 32f35056af
commit e66f3eb499
3 changed files with 20 additions and 3 deletions

View File

@@ -192,9 +192,9 @@ void ShaderGraph::connect(ShaderOutput *from, ShaderInput *to)
/* for closures we can't do automatic conversion */
if(from->type == SHADER_SOCKET_CLOSURE || to->type == SHADER_SOCKET_CLOSURE) {
fprintf(stderr, "Cycles shader graph connect: can only connect closure to closure "
"(ShaderNode:%s, ShaderOutput:%s , type:%d -> to ShaderNode:%s, ShaderInput:%s, type:%d).\n",
from->parent->name.c_str(), from->name, (int)from->type,
to->parent->name.c_str(), to->name, (int)to->type);
"(%s.%s to %s.%s).\n",
from->parent->name.c_str(), from->name,
to->parent->name.c_str(), to->name);
return;
}