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
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-11-11 18:26:20 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-11-11 20:12:05 +0300
commit3d9c8397fc17143203a970e86ff07f093e799e40 (patch)
treefde2085c9e4267e1c50b36ec696b97abd1903739 /intern
parent4bc08b79aa7f720795e8b6590e5662a9cd003975 (diff)
Fix T93005: Cycles shadow catcher not inherited by instances
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/object.cpp b/intern/cycles/blender/object.cpp
index 0ad3e551b8d..d6c52f7faf9 100644
--- a/intern/cycles/blender/object.cpp
+++ b/intern/cycles/blender/object.cpp
@@ -294,7 +294,7 @@ Object *BlenderSync::sync_object(BL::Depsgraph &b_depsgraph,
object->set_visibility(visibility);
- object->set_is_shadow_catcher(b_ob.is_shadow_catcher());
+ object->set_is_shadow_catcher(b_ob.is_shadow_catcher() || b_parent.is_shadow_catcher());
float shadow_terminator_shading_offset = get_float(cobject, "shadow_terminator_offset");
object->set_shadow_terminator_shading_offset(shadow_terminator_shading_offset);