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:
parent
f4632e1da0
commit
6e2572116d
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue