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:
authorCampbell Barton <ideasman42@gmail.com>2010-12-16 08:02:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-16 08:02:15 +0300
commit6d2019074ffb3466840443a4a75cb19ca6493566 (patch)
tree366b740ebccfb70986825204bfe4fb91941cccd7 /release/scripts/templates
parente15f34b35fce21c89fdff956402a3671caf18a8b (diff)
- fix [#25246] export default scene to X3D crashes exporter, own fault but also made sure all colors are now clamped and noticed 3D text was not being exported.
- de-duplicated 'object_type_items' enum, text was known as TEXT in one, FONT in another.
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)