diff options
-rw-r--r-- | intern/cycles/blender/blender_shader.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_shader.cpp b/intern/cycles/blender/blender_shader.cpp index 2beeaa5e07a..81204aaa13a 100644 --- a/intern/cycles/blender/blender_shader.cpp +++ b/intern/cycles/blender/blender_shader.cpp @@ -1167,6 +1167,10 @@ void BlenderSync::sync_world(bool update_all) background->visibility = visibility; } + else { + background->ao_factor = 0.0f; + background->ao_distance = FLT_MAX; + } shader->set_graph(graph); shader->tag_update(scene); |