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:
authorErik Englesson <erikenglesson@gmail.com>2018-06-07 12:10:55 +0300
committerErik Englesson <erikenglesson@gmail.com>2018-06-08 14:51:49 +0300
commita3826bf41c6a4de9486a0c60c5c3b67587cd2e5f (patch)
tree9f49a8a1dd8a341142724e2a1f53cd23a2d37cd2 /intern/cycles/blender/blender_sync.cpp
parent4f55918a5e93e7ab18ea46e3874002986719518b (diff)
Cycles: Added a checkbox in Blender's GUI to turn
on/off the new light sampling method. The checkbox can be found at the bottom of the sampling section in the Render tab. The method is not used by default.
Diffstat (limited to 'intern/cycles/blender/blender_sync.cpp')
-rw-r--r--intern/cycles/blender/blender_sync.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_sync.cpp b/intern/cycles/blender/blender_sync.cpp
index 283aa5600fd..49acba9304d 100644
--- a/intern/cycles/blender/blender_sync.cpp
+++ b/intern/cycles/blender/blender_sync.cpp
@@ -281,6 +281,7 @@ void BlenderSync::sync_integrator()
Integrator::NUM_METHODS,
Integrator::PATH);
+ integrator->use_light_bvh = get_boolean(cscene, "use_light_bvh");
integrator->sample_all_lights_direct = get_boolean(cscene, "sample_all_lights_direct");
integrator->sample_all_lights_indirect = get_boolean(cscene, "sample_all_lights_indirect");
integrator->light_sampling_threshold = get_float(cscene, "light_sampling_threshold");