From 66421f211928af40d81c67c0ed6e3269ff884e9d Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 15 Jun 2014 12:19:51 +0200 Subject: 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. --- intern/cycles/kernel/kernel_path_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/kernel/kernel_path_state.h') diff --git a/intern/cycles/kernel/kernel_path_state.h b/intern/cycles/kernel/kernel_path_state.h index 39780c0edb0..fc51c614c71 100644 --- a/intern/cycles/kernel/kernel_path_state.h +++ b/intern/cycles/kernel/kernel_path_state.h @@ -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; -- cgit v1.2.3