Cycles / Wavelength to RGB node:
[blender.git] / intern / cycles / blender / blender_shader.cpp
index a5fe5dbf12f494744e95ea9672a05166c1a927b5..a9db10b21d77d426a9f6f8f526c1c54d6e51112b 100644 (file)
@@ -397,6 +397,9 @@ static ShaderNode *add_node(Scene *scene, BL::BlendData b_data, BL::Scene b_scen
                wire->use_pixel_size = b_wireframe_node.use_pixel_size();
                node = wire;
        }
+       else if (b_node.is_a(&RNA_ShaderNodeWavelength)) {
+               node = new WavelengthNode();
+       }
        else if (b_node.is_a(&RNA_ShaderNodeLightPath)) {
                node = new LightPathNode();
        }