Fix for last commit, forgot changes in Cycles itself.
authorThomas Dinges <blender@dingto.org>
Sat, 14 Jun 2014 14:14:36 +0000 (16:14 +0200)
committerThomas Dinges <blender@dingto.org>
Sat, 14 Jun 2014 14:14:54 +0000 (16:14 +0200)
intern/cycles/blender/blender_shader.cpp
intern/cycles/render/nodes.cpp

index 318ca10b81a334ac77570cd9a8b6c9a1b1633b94..51d8a4da744b1ef0b19ad663e4a6132440d9dc55 100644 (file)
@@ -323,9 +323,6 @@ static ShaderNode *add_node(Scene *scene, BL::BlendData b_data, BL::Scene b_scen
 
                switch (b_aniso_node.distribution())
                {
-               case BL::ShaderNodeBsdfAnisotropic::distribution_SHARP:
-                       aniso->distribution = ustring("Sharp");
-                       break;
                case BL::ShaderNodeBsdfAnisotropic::distribution_BECKMANN:
                        aniso->distribution = ustring("Beckmann");
                        break;
index c3aef362428ef848c56e35e7c2162367fc602c5a..6401d6d8e36cd2e3e4e32b18a01bbeb31eea73e8 100644 (file)
@@ -1589,7 +1589,6 @@ static ShaderEnum aniso_distribution_init()
 {
        ShaderEnum enm;
 
-       enm.insert("Sharp", CLOSURE_BSDF_REFLECTION_ID);
        enm.insert("Beckmann", CLOSURE_BSDF_MICROFACET_BECKMANN_ANISO_ID);
        enm.insert("GGX", CLOSURE_BSDF_MICROFACET_GGX_ANISO_ID);
        enm.insert("Ashikhmin-Shirley", CLOSURE_BSDF_ASHIKHMIN_SHIRLEY_ANISO_ID);