EEVEE: Fix running render tests

Render test would hide objects from probes. It still referred to
the old name of the spherical probes. This change will replace it
with the correct name.

It also hides objects from the planar probes as they were also
recently added.

Pull Request: https://projects.blender.org/blender/blender/pulls/116093
This commit is contained in:
Jeroen Bakker 2024-01-15 08:36:56 +01:00
parent f4632e1da0
commit 6e2572116d
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ def setup():
for ob in scene.objects:
if ob.name != 'Plane' and ob.type != 'LIGHT':
ob.hide_probe_volume = True
ob.hide_probe_cubemap = True
ob.hide_probe_sphere = True
ob.hide_probe_plane = True
bpy.ops.scene.light_cache_bake()