Cycles:
authorThomas Dinges <blender@dingto.org>
Tue, 12 Jun 2012 19:04:12 +0000 (19:04 +0000)
committerThomas Dinges <blender@dingto.org>
Tue, 12 Jun 2012 19:04:12 +0000 (19:04 +0000)
* Add back a break, which was deleted in r47773.

intern/cycles/blender/blender_shader.cpp

index d5b58298e18c5fd115844eeed9e452bd888289db..2c15a60dab61fa2685f5356d63b9c6f3ace3639c 100644 (file)
@@ -180,6 +180,7 @@ static ShaderNode *add_node(BL::BlendData b_data, BL::Scene b_scene, ShaderGraph
                case BL::ShaderNode::type_CURVE_RGB: {
                        RGBCurvesNode *ramp = new RGBCurvesNode();
                        node = ramp;
+                       break;
                }
                case BL::ShaderNode::type_VALTORGB: {
                        RGBRampNode *ramp = new RGBRampNode();