Fix T40117: cycles sobol RNG issue when disabling __CAMERA_MOTION__.

This doesn't affect any actual release code since camera motion blur is enabled.
This commit is contained in:
Brecht Van Lommel 2014-05-11 15:36:28 +02:00
parent c721f9a9f4
commit 0d5ecc5c33

@ -204,10 +204,8 @@ enum PathTraceDimension {
PRNG_UNUSED_0 = 5,
PRNG_UNUSED_1 = 6, /* for some reason (6, 7) is a bad sobol pattern */
PRNG_UNUSED_2 = 7, /* with a low number of samples (< 64) */
PRNG_BASE_NUM = 8,
#else
PRNG_BASE_NUM = 4,
#endif
PRNG_BASE_NUM = 8,
PRNG_BSDF_U = 0,
PRNG_BSDF_V = 1,