Fix T48657: Incorrect render with Cycles (CPU) using texture

The sockets of the RGB to BW node were set to the wrong type after the recent node refactor.
This commit is contained in:
Lukas Stockner
2016-06-17 05:20:47 +02:00
parent d747bfbe29
commit f0c7a2a25c

View File

@@ -1564,8 +1564,8 @@ NODE_DEFINE(RGBToBWNode)
{
NodeType* type = NodeType::add("rgb_to_bw", create, NodeType::SHADER);
SOCKET_IN_POINT(color, "Color", make_float3(0.0f, 0.0f, 0.0f));
SOCKET_OUT_POINT(val, "Val");
SOCKET_IN_COLOR(color, "Color", make_float3(0.0f, 0.0f, 0.0f));
SOCKET_OUT_FLOAT(val, "Val");
return type;
}