Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-06-13 21:34:47 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-06-13 21:34:47 +0400
commit4940482e5940a6f06e8473f1b647390608e952fc (patch)
treea5f0db18c04c6d41d1df7cc0491044972914dcbb /intern/cycles
parent9e6869ea8a58f536aabe196cfb07f1586325fee4 (diff)
Fix issue with missing emission in non-progressive integrator.
Diffstat (limited to 'intern/cycles')
-rw-r--r--intern/cycles/kernel/kernel_path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_path.h b/intern/cycles/kernel/kernel_path.h
index 80d66532506..2da6a7e4d8f 100644
--- a/intern/cycles/kernel/kernel_path.h
+++ b/intern/cycles/kernel/kernel_path.h
@@ -850,7 +850,7 @@ __device float4 kernel_path_non_progressive(KernelGlobals *kg, RNG *rng, int sam
#endif
kernel_path_indirect(kg, rng, sample*num_samples, ray, buffer,
- tp*num_samples_inv, min_ray_pdf, ray_pdf, ps, rng_offset+PRNG_BOUNCE_NUM, &L);
+ tp*num_samples_inv, min_ray_pdf, bsdf_pdf, ps, rng_offset+PRNG_BOUNCE_NUM, &L);
}
}