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>2007-03-10 12:43:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-03-10 12:43:43 +0300
commit59ff076d033009f210a517cca55c4cbd5a97dec3 (patch)
tree1908bdc38bb8c6311008555067736a264432d5b0 /source/blender/python/api2_2x/Text3d.c
parent046508b78dc4c214b0f8a891a24a3720a209c003 (diff)
Main
* Added bpy.*.new() - works for all except sound and font types * Added bpy.*.load() - works for sound, font and image types Text3d - removed unneeded check.
Diffstat (limited to 'source/blender/python/api2_2x/Text3d.c')
-rw-r--r--source/blender/python/api2_2x/Text3d.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Text3d.c b/source/blender/python/api2_2x/Text3d.c
index 735099b0d39..1a3a765c756 100644
--- a/source/blender/python/api2_2x/Text3d.c
+++ b/source/blender/python/api2_2x/Text3d.c
@@ -1130,8 +1130,7 @@ static PyObject *Text3d_setFont( BPy_Text3d * self, PyObject * args )
self->curve->vfont= vf;
}
else {
- load_vfont (pyobj->font->name);
- vf= exist_vfont(pyobj->font->name);
+ vf= load_vfont (pyobj->font->name);
if (vf) {
id_us_plus((ID *)vf);
self->curve->vfont->id.us--;