Cycles: Direct multi light sampling in the Branched Path Integrator is optional now.
[blender-staging.git] / intern / cycles / blender / blender_sync.cpp
index 202eff48d534baff6b5a2a534349a0c2e59992bf..1f5e32a1123e9be72842eac639523ea679f32c81 100644 (file)
@@ -197,7 +197,8 @@ void BlenderSync::sync_integrator()
 #endif
 
        integrator->method = (Integrator::Method)get_enum(cscene, "progressive");
-       
+
+       integrator->sample_all_lights_direct = get_boolean(cscene, "sample_all_lights_direct");
        integrator->sample_all_lights_indirect = get_boolean(cscene, "sample_all_lights_indirect");
 
        int diffuse_samples = get_int(cscene, "diffuse_samples");