Fix: bl_previews_render.py still using lamp.falloff_type #112728

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:fix_light_falloff_type_removed into main 2023-09-22 17:17:13 +02:00
1 changed files with 0 additions and 1 deletions

View File

@ -105,7 +105,6 @@ def do_previews(do_objects, do_collections, do_scenes, do_data_intern):
scene.collection.objects.link(camera)
light.rotation_euler = Euler((0.7853981852531433, 0.0, 1.7453292608261108), 'XYZ') # (45, 0, 100)
light_data.falloff_type = 'CONSTANT'
light_data.spot_size = 1.0471975803375244 # 60
scene.collection.objects.link(light)