Merge branch 'blender-v3.0-release'

This commit is contained in:
Brecht Van Lommel 2021-11-18 19:37:48 +01:00
commit 167ee8f2c7
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}