Fix #33334: missing glossy label for OSL phong ramp caused assert.

This commit is contained in:
Brecht Van Lommel 2012-11-28 16:42:32 +00:00
parent 33f451838a
commit 4c13633582

View File

@ -131,7 +131,7 @@ __device int bsdf_phong_ramp_sample(const ShaderClosure *sc, const float3 colors
}
}
}
return LABEL_REFLECT;
return LABEL_REFLECT|LABEL_GLOSSY;
}