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:
authorSam Kottler <dev@samkottler.net>2020-08-14 23:22:04 +0300
committerSam Kottler <dev@samkottler.net>2020-08-14 23:22:04 +0300
commit114a5a8ce87c9ed2e5664fc2ad91de14d1f86998 (patch)
tree06e3fbfdb347b194d5d3dfc5a6344ee86b009e34
parent3b49ca465f708270b69647dc7425958d9e5793c2 (diff)
Cycles: Fixed small light tree volume bug
-rw-r--r--intern/cycles/kernel/kernel_path_subsurface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_path_subsurface.h b/intern/cycles/kernel/kernel_path_subsurface.h
index 97d3f292ca3..f7f145c17ee 100644
--- a/intern/cycles/kernel/kernel_path_subsurface.h
+++ b/intern/cycles/kernel/kernel_path_subsurface.h
@@ -68,6 +68,7 @@ ccl_device_inline
* integration loop stops when this function returns true.
*/
subsurface_scatter_multi_setup(kg, &ss_isect, hit, sd, state, bssrdf_type, bssrdf_roughness);
+ kernel_update_light_picking(kg, sd, state, NULL);
kernel_path_surface_connect_light(kg, sd, emission_sd, *throughput, state, L);