Fix #142953: Cycles renders world lightgroup wrong

Pull Request: https://projects.blender.org/blender/blender/pulls/143003
This commit is contained in:
Brecht Van Lommel
2025-07-24 15:24:03 +02:00
committed by Brecht Van Lommel
parent 9a6d95600d
commit 264669fc03

View File

@@ -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. */