diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-16 09:56:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-16 09:56:25 +0300 |
commit | 1fa61c88437aab557e38f9cb4ef12a3eab3b592e (patch) | |
tree | a05ea4d2a0aacf0c09b2b374e2c2c5213e229569 /release/scripts/templates_py/background_job.py | |
parent | d5fa23073634b15873b13c1f242234340685beb7 (diff) |
Fix typo in background_job template
D5264 by @dimtion
Diffstat (limited to 'release/scripts/templates_py/background_job.py')
-rw-r--r-- | release/scripts/templates_py/background_job.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |