Fix typo in background_job template

D5264 by @dimtion
This commit is contained in:
Campbell Barton 2019-07-16 16:56:25 +10:00
parent d5fa230736
commit 1fa61c8843
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def example_function(text, save_path, render_path):
# Light
light_data = bpy.data.lights.new("MyLight", 'POINT')
light_ob = bpy.data.objects.new(name="MyCam", object_data=light_data)
light_ob = bpy.data.objects.new(name="MyLight", object_data=light_data)
scene.collection.objects.link(light_ob)
light_ob.location = 2.0, 2.0, 5.0