Fix: EEVEE-Next: Wrong lightcache bake command

This commit is contained in:
Clément Foucault
2024-02-02 14:41:03 +01:00
parent 18a04965fd
commit a682d12015
+1 -2
View File
@@ -53,6 +53,7 @@ def setup():
grid = bpy.context.selected_objects[0]
grid.scale = (1.735, 1.735, 1.735)
grid.data.bake_samples = 256
bpy.ops.object.lightprobe_cache_bake(subset='ACTIVE')
except:
pass
@@ -63,8 +64,6 @@ def setup():
ob.hide_probe_sphere = True
ob.hide_probe_plane = True
bpy.ops.scene.light_cache_bake()
# When run from inside Blender, render and exit.
try: