clamp for Mix node
[blender.git] / intern / cycles / blender / blender_shader.cpp
index 37ab1ddac26bc14bd33e8e06f3ff7919d76da698..b82fee5edf0dfae082eb901792258e04db7ff45c 100644 (file)
@@ -221,6 +221,7 @@ static ShaderNode *add_node(BL::BlendData b_data, BL::Scene b_scene, ShaderGraph
                        BL::ShaderNodeMixRGB b_mix_node(b_node);
                        MixNode *mix = new MixNode();
                        mix->type = MixNode::type_enum[b_mix_node.blend_type()];
+                       mix->use_clamp = b_mix_node.use_clamp();
                        node = mix;
                        break;
                }