Fix error in clip.setup_tracking_scene with cycles

Regression in e9182a0f5d
This commit is contained in:
Campbell Barton
2021-03-23 16:49:38 +11:00
parent 70d2456ff1
commit 08151b52a2

View File

@@ -960,7 +960,7 @@ class CLIP_OT_setup_tracking_scene(Operator):
for ob in collection.objects: for ob in collection.objects:
ob.cycles.is_shadow_catcher = True ob.cycles.is_shadow_catcher = True
for child in collection.children: for child in collection.children:
setup_shadow_catcher_collection(child) setup_shadow_catcher_objects(child)
scene = context.scene scene = context.scene
fg_coll = bpy.data.collections["foreground", None] fg_coll = bpy.data.collections["foreground", None]