Fix #142953: Cycles renders world lightgroup wrong
Pull Request: https://projects.blender.org/blender/blender/pulls/143003
This commit is contained in:
committed by
Brecht Van Lommel
parent
9a6d95600d
commit
264669fc03
@@ -136,6 +136,7 @@ void BlenderSync::sync_background_light(BL::SpaceView3D &b_v3d)
|
||||
if (update) {
|
||||
/* Lights should be shadow catchers by default. */
|
||||
object->set_is_shadow_catcher(true);
|
||||
object->set_lightgroup(ustring(b_world ? b_world.lightgroup() : ""));
|
||||
}
|
||||
|
||||
/* Create geometry. */
|
||||
|
||||
Reference in New Issue
Block a user