Commit: 114a5a8ce87c9ed2e5664fc2ad91de14d1f86998
Author: Sam Kottler
Date: Fri Aug 14 15:22:04 2020 -0500
Branches: soc-2020-production-ready-light-tree-2
https://developer.blender.org/rB114a5a8ce87c9ed2e5664fc2ad91de14d1f86998
Cycles: Fixed small light tree volume bug
===================================================================
M intern/cycles/kernel/kernel_path_subsurface.h
===================================================================
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);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs