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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user