Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Stockner <lukas.stockner@freenet.de>2022-07-24 21:32:19 +0300
committerLukas Stockner <lukas.stockner@freenet.de>2022-07-24 21:36:46 +0300
commitd26c29d8e46c284b27cc6d3bcde8fde7ff678ae4 (patch)
treef4c50aca93618440f2325ff7ed15a91583fc738c
parent31365c6b9e4cd99a79fe64ebaf016c3d7e0e0c4f (diff)
Fix T98367: Light group passes do not work when shadow catcher is used
-rw-r--r--intern/cycles/session/buffers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/session/buffers.cpp b/intern/cycles/session/buffers.cpp
index b74074765fe..e060e0c6829 100644
--- a/intern/cycles/session/buffers.cpp
+++ b/intern/cycles/session/buffers.cpp
@@ -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;