From 264669fc0379296ebb31632d879aaa71e1b59c02 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 24 Jul 2025 15:24:03 +0200 Subject: [PATCH] Fix #142953: Cycles renders world lightgroup wrong Pull Request: https://projects.blender.org/blender/blender/pulls/143003 --- intern/cycles/blender/light.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/intern/cycles/blender/light.cpp b/intern/cycles/blender/light.cpp index 746e215b1d1..2a552ff1c93 100644 --- a/intern/cycles/blender/light.cpp +++ b/intern/cycles/blender/light.cpp @@ -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. */