forked from bartvdbraak/blender
Fix T46842: Removing World is missing AO update in viewport render
This commit is contained in:
parent
940f7a6d53
commit
f021d97e8f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user