diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-29 13:24:47 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-05-29 21:30:16 +0300 |
commit | 9bd2820aaf599bb25a19cdb6b548957b6686eadc (patch) | |
tree | a9fda38ac97604ce5be6091de99ea1514d4b6943 /intern/cycles/blender | |
parent | eac7ed8d047457564033f1547fea9a912ff0d9b7 (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); |