Fix T98367: Light group passes do not work when shadow catcher is used
This commit is contained in:
parent
2b83f3d521
commit
83d412a504
Notes:
blender-bot
2023-02-14 10:32:59 +01:00
Referenced by issue #98661, 3.2: Potential candidates for corrective releases Referenced by issue #98367, Light group passes does not work with shadow catcher object in the scene
|
@ -209,7 +209,7 @@ const BufferPass *BufferParams::get_actual_display_pass(const BufferPass *pass)
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
if (pass->type == PASS_COMBINED) {
|
||||
if (pass->type == PASS_COMBINED && pass->lightgroup.empty()) {
|
||||
const BufferPass *shadow_catcher_matte_pass = find_pass(PASS_SHADOW_CATCHER_MATTE, pass->mode);
|
||||
if (shadow_catcher_matte_pass) {
|
||||
pass = shadow_catcher_matte_pass;
|
||||
|
|
Loading…
Reference in New Issue