**System Information**
Linux Mint 15, 64-bit
GeForce GTX 650
CPU: AMD FX-8320
**Blender Version**
Broken: 2.70 765d077
**Short description of error**
The OSL attribute node only works when the SVM Attribute node is present in the graph AND connected to another node (excluding Input and Output nodes)
**Exact steps for others to reproduce the error**
(Make sure to use CPU rendering, and Open Shading Language is checked on)
# Using the default cube, add some Vertex Colors to it
- In the node editor, add a script node
- Load `blender/intern/cycles/kernel/shaders/osl_attribute.osl`
- Type the name of the Vertex Colors created beforehand and plug the color output of this node to one of the inputs of the Diffuse shader.
For it to work, you'll need to do the following (after the above steps):
# Add any node (could it be an Image Texture or a Math node, any node), but do not connect it to the others
- Add an Attribute node and type the name of the Vertex Colors created beforehand (the name is important, else it won't work)
- plug the color output of this node to one of the inputs of the "any" node
**Blendfile:** {F82556} (Simply unplug the Attribute node, or change/erase the name in it)