Fix T93005: Cycles shadow catcher not inherited by instances

This commit is contained in:
Brecht Van Lommel 2021-11-11 16:26:20 +01:00
parent 4bc08b79aa
commit 3d9c8397fc
Notes: blender-bot 2023-02-14 11:00:17 +01:00
Referenced by issue #93005, Shadow Catcher doesnt work on duplis
1 changed files with 1 additions and 1 deletions

View File

@ -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);