projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Cycles bug rendering with multiple UV maps after recent changes.
[blender.git]
/
intern
/
cycles
/
render
/
nodes.cpp
diff --git
a/intern/cycles/render/nodes.cpp
b/intern/cycles/render/nodes.cpp
index dc015b871e5da6cb77d311f7b5ef5838ecf8a53f..d32b1513e42402743fccccb430730685355bf860 100644
(file)
--- a/
intern/cycles/render/nodes.cpp
+++ b/
intern/cycles/render/nodes.cpp
@@
-3483,7
+3483,7
@@
void TextureCoordinateNode::compile(SVMCompiler& compiler)
}
else {
int attr = compiler.attribute(ATTR_STD_UV);
- compiler.add_node(attr_node, attr, compiler.stack_assign(out), NODE_ATTR_FLOAT
2
);
+ compiler.add_node(attr_node, attr, compiler.stack_assign(out), NODE_ATTR_FLOAT
3
);
}
}