diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-11-18 21:37:48 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-11-18 21:37:48 +0300 |
commit | 167ee8f2c7baf5ca4869aceaa275bd704b802b73 (patch) | |
tree | bf0802039303e5d9aef6733af261654ef4702fcc /intern | |
parent | f190f2d267df46d25d74009a3c14ac10753d57ca (diff) | |
parent | fd2a155d068fdd3e6a6c3b4d58772b1dc9921291 (diff) |
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/integrator/path_state.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/intern/cycles/kernel/integrator/path_state.h b/intern/cycles/kernel/integrator/path_state.h index de6c3ae8161..eac9ceeae70 100644 --- a/intern/cycles/kernel/integrator/path_state.h +++ b/intern/cycles/kernel/integrator/path_state.h @@ -208,9 +208,7 @@ ccl_device_inline bool path_state_volume_next(IntegratorState state) } /* Random number generator next bounce. */ - if (volume_bounds_bounce > 1) { - INTEGRATOR_STATE_WRITE(state, path, rng_offset) += PRNG_BOUNCE_NUM; - } + INTEGRATOR_STATE_WRITE(state, path, rng_offset) += PRNG_BOUNCE_NUM; return true; } |