forked from blender/blender
Export other channels and parameters from texture nodes #16
@ -86,7 +86,7 @@ NodeItem NodeParser::texcoord_node()
|
|||||||
NodeItem res = empty();
|
NodeItem res = empty();
|
||||||
res.node = graph_->getNode(TEXCOORD_NODE_NAME);
|
res.node = graph_->getNode(TEXCOORD_NODE_NAME);
|
||||||
if (!res.node) {
|
if (!res.node) {
|
||||||
res = create_node("texcoord", "vector2");
|
res = create_node("texcoord", NodeItem::Type::Vector2);
|
||||||
res.node->setName(TEXCOORD_NODE_NAME);
|
res.node->setName(TEXCOORD_NODE_NAME);
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
|
Loading…
Reference in New Issue
Block a user