From 6d2019074ffb3466840443a4a75cb19ca6493566 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 16 Dec 2010 05:02:15 +0000 Subject: - 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. --- release/scripts/templates/background_job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release/scripts/templates') 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) -- cgit v1.2.3