[Bf-blender-cvs] [1fa61c88437] master: Fix typo in background_job template
Campbell Barton
noreply at git.blender.org
Tue Jul 16 08:58:44 CEST 2019
Commit: 1fa61c88437aab557e38f9cb4ef12a3eab3b592e
Author: Campbell Barton
Date: Tue Jul 16 16:56:25 2019 +1000
Branches: master
https://developer.blender.org/rB1fa61c88437aab557e38f9cb4ef12a3eab3b592e
Fix typo in background_job template
D5264 by @dimtion
===================================================================
M release/scripts/templates_py/background_job.py
===================================================================
diff --git a/release/scripts/templates_py/background_job.py b/release/scripts/templates_py/background_job.py
index 5410a7d649f..e93ca2d8c6f 100644
--- a/release/scripts/templates_py/background_job.py
+++ b/release/scripts/templates_py/background_job.py
@@ -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
More information about the Bf-blender-cvs
mailing list