Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/templates')
-rw-r--r--release/scripts/templates/background_job.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/templates/background_job.py b/release/scripts/templates/background_job.py
index f887e6feaef..5705e8ef53e 100644
--- a/release/scripts/templates/background_job.py
+++ b/release/scripts/templates/background_job.py
@@ -18,7 +18,7 @@ def example_function(body_text, save_path, render_path):
for obj in scene.objects:
scene.objects.unlink(obj)
- txt_data = bpy.data.curves.new(name="MyText", type='TEXT')
+ txt_data = bpy.data.curves.new(name="MyText", type='FONT')
# Text Object
txt_ob = bpy.data.objects.new(name="MyText", object_data=txt_data)