Fix cycles "Is Singular Ray" being on for Camera rays, now is off.

This appears to be a wrong interpretation of the OSL docs, and it's more
convenient to have it off.
This commit is contained in:
Brecht Van Lommel
2014-06-15 12:19:51 +02:00
parent 8461acd54c
commit 66421f2119

View File

@@ -18,7 +18,7 @@ CCL_NAMESPACE_BEGIN
ccl_device_inline void path_state_init(KernelGlobals *kg, PathState *state, RNG *rng, int sample)
{
state->flag = PATH_RAY_CAMERA|PATH_RAY_SINGULAR|PATH_RAY_MIS_SKIP;
state->flag = PATH_RAY_CAMERA|PATH_RAY_MIS_SKIP;
state->rng_offset = PRNG_BASE_NUM;
state->sample = sample;