Commit: 1e2d97e8673ad663869fd09749607da459eeb4a7
Author: Jebbly
Date: Wed Jun 8 00:52:54 2022 -0400
Branches: soc-2022-many-lights-sampling
https://developer.blender.org/rB1e2d97e8673ad663869fd09749607da459eeb4a7
reorder integrator getters to get light tree info after sampling threshold
===================================================================
M intern/cycles/blender/sync.cpp
===================================================================
diff --git a/intern/cycles/blender/sync.cpp b/intern/cycles/blender/sync.cpp
index e008443531f..c44882ac766 100644
--- a/intern/cycles/blender/sync.cpp
+++ b/intern/cycles/blender/sync.cpp
@@ -340,9 +340,10 @@ void BlenderSync::sync_integrator(BL::ViewLayer
&b_view_layer, bool background)
integrator->set_motion_blur(view_layer.use_motion_blur);
}
+ integrator->set_light_sampling_threshold(get_float(cscene,
"light_sampling_threshold"));
+
integrator->set_use_light_tree(get_boolean(cscene, "use_light_tree"));
integrator->set_splitting_threshold(get_float(cscene,
"splitting_threshold"));
- integrator->set_light_sampling_threshold(get_float(cscene,
"light_sampling_threshold"));
SamplingPattern sampling_pattern = (SamplingPattern)get_enum(
cscene, "sampling_pattern", SAMPLING_NUM_PATTERNS,
SAMPLING_PATTERN_SOBOL);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs