diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-29 13:24:47 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2016-06-08 22:45:40 +0300 |
commit | 693b15f553799ce8744f148639eca954b48a9600 (patch) | |
tree | ec821e6c5b67e12e9466f7d259a7d18b7ee2fc77 /intern/cycles/blender | |
parent | 0ca2f554c4fa597222ef8dec0ffde75958b506e0 (diff) |
Code refactor: add separate RGB to BW node and rename some sockets.
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/blender_shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_shader.cpp b/intern/cycles/blender/blender_shader.cpp index 346fe0ca6c4..7aa099e9e2b 100644 --- a/intern/cycles/blender/blender_shader.cpp +++ b/intern/cycles/blender/blender_shader.cpp @@ -339,7 +339,7 @@ static ShaderNode *add_node(Scene *scene, node = new HSVNode(); } else if(b_node.is_a(&RNA_ShaderNodeRGBToBW)) { - node = new ConvertNode(SocketType::COLOR, SocketType::FLOAT); + node = new RGBToBWNode(); } else if(b_node.is_a(&RNA_ShaderNodeMath)) { BL::ShaderNodeMath b_math_node(b_node); |