Fix T94751: ground created by Setup Tracking Scene not marked as Shadow Catcher

Change that was missing in {rBca64bd0aacda}.
This commit is contained in:
Germano Cavalcante 2022-01-11 19:01:53 -03:00
parent 947dc21979
commit ab125f466c
Notes: blender-bot 2023-02-14 02:27:51 +01:00
Referenced by issue #94751, The ground created by Setup Tracking Scene is no longer marked as a Shadow Catcher
1 changed files with 1 additions and 1 deletions

View File

@ -949,7 +949,7 @@ class CLIP_OT_setup_tracking_scene(Operator):
"""Make all the newly created and the old objects of a collection """ \
"""to be properly setup for shadow catch"""
for ob in collection.objects:
ob.cycles.is_shadow_catcher = True
ob.is_shadow_catcher = True
for child in collection.children:
setup_shadow_catcher_objects(child)