diff options
author | Stuart Broadfoot <gbroadfoot@hotmail.com> | 2013-08-18 17:41:53 +0400 |
---|---|---|
committer | Stuart Broadfoot <gbroadfoot@hotmail.com> | 2013-08-18 17:41:53 +0400 |
commit | 2fd11a6617b84dbe5cae1a2c3f9145830b2bbfd4 (patch) | |
tree | 3446f01329b3a009d9cbd2e25ae7d171e6aa5e84 /intern/cycles/bvh/bvh.cpp | |
parent | 19d3e230e6d0cc52ebd82a8b5d0efbbeb396a9cf (diff) |
Updates for the Cycle Hair UI. With the following changes
- Removed the cycles subdivision and interpolation of hairkeys.
- Removed the parent settings.
- Removed all of the advanced settings and presets.
- This simplifies the UI to a few settings for the primitive type and a shape mode.
Diffstat (limited to 'intern/cycles/bvh/bvh.cpp')
-rw-r--r-- | intern/cycles/bvh/bvh.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/intern/cycles/bvh/bvh.cpp b/intern/cycles/bvh/bvh.cpp index dd647fec2d3..6c636ac5c8d 100644 --- a/intern/cycles/bvh/bvh.cpp +++ b/intern/cycles/bvh/bvh.cpp @@ -295,16 +295,8 @@ void BVH::pack_curve_segment(int idx, float4 woop[3]) * extra curve data <3> , StrID, * nextkey, flags/tip?, 0, 0); */ - Attribute *attr_tangent = mesh->curve_attributes.find(ATTR_STD_CURVE_TANGENT); float3 tg0 = make_float3(1.0f, 0.0f, 0.0f); float3 tg1 = make_float3(1.0f, 0.0f, 0.0f); - - if(attr_tangent) { - const float3 *data_tangent = attr_tangent->data_float3(); - - tg0 = data_tangent[k0]; - tg1 = data_tangent[k1]; - } Transform tfm = make_transform( tg0.x, tg0.y, tg0.z, l, |