Cycles Hair: add Generated texture coordinates for curves, so that procedural
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 3 Jan 2013 12:31:05 +0000 (12:31 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 3 Jan 2013 12:31:05 +0000 (12:31 +0000)
commitb3f21a22548db7e8e77001065b9139c44a8e0c62
treef5b4dc68d19ab8ce313a14a667e98c53047c7ba0
parentbf25f1ea96d01b513907cf3067e8e2dd3c7e41b4
Cycles Hair: add Generated texture coordinates for curves, so that procedural
textures now work without having to add a UV map.

Also made UV and intercept attributes only export when needed by the shader.
intern/cycles/blender/blender_curves.cpp
intern/cycles/blender/blender_mesh.cpp
intern/cycles/blender/blender_util.h