diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-15 23:02:30 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-15 23:02:30 +0400 |
commit | 693f687ebf25458c94cf823bd14796cabf8fa421 (patch) | |
tree | fb5a36f6ce4dd3522e830876ccb323575ba72567 | |
parent | ac433977674d64cbb513ecdb01d8245a5950a027 (diff) |
Fix cycles CUDA error with world multiple importance sampling, after recent OpenCL fixes.
-rw-r--r-- | intern/cycles/kernel/kernel_light.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_light.h b/intern/cycles/kernel/kernel_light.h index c07f1ffe5a3..d4d78e413d2 100644 --- a/intern/cycles/kernel/kernel_light.h +++ b/intern/cycles/kernel/kernel_light.h @@ -430,7 +430,8 @@ __device void object_transform_light_sample(KernelGlobals *kg, LightSample *ls, /* instance transform */ if(object >= 0) { #ifdef __OBJECT_MOTION__ - Transform tfm = object_fetch_transform_motion_test(kg, object, time, NULL); + Transform itfm; + Transform tfm = object_fetch_transform_motion_test(kg, object, time, &itfm); #else Transform tfm = object_fetch_transform(kg, object, OBJECT_TRANSFORM); #endif |