Cycles: better path termination for transparency.
[blender.git] / intern / cycles / kernel / osl / osl_closures.cpp
index d0c357580fd3f77a8acf4d015b137e60c9e4cee2..ee16ddaf0fddf041deadb743dd597dc0b954ae27 100644 (file)
@@ -705,7 +705,7 @@ public:
 
        void setup(ShaderData *sd, int path_flag, float3 weight)
        {
-               bsdf_transparent_setup(sd, weight);
+               bsdf_transparent_setup(sd, weight, path_flag);
        }
 };