diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-16 08:02:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-16 08:02:15 +0300 |
commit | 6d2019074ffb3466840443a4a75cb19ca6493566 (patch) | |
tree | 366b740ebccfb70986825204bfe4fb91941cccd7 /release/scripts/templates/background_job.py | |
parent | e15f34b35fce21c89fdff956402a3671caf18a8b (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/background_job.py')
-rw-r--r-- | release/scripts/templates/background_job.py | 2 |
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) |