diff options
author | Joseph Gilbert <ascotan@gmail.com> | 2005-03-19 06:24:00 +0300 |
---|---|---|
committer | Joseph Gilbert <ascotan@gmail.com> | 2005-03-19 06:24:00 +0300 |
commit | cbbe236f9237cd7a942e250493b6c7402300deb7 (patch) | |
tree | ccdfdfe9d008dc0f5be4a5d1d649a60eaba40cb9 /source/blender/python/api2_2x/Object.c | |
parent | f61c5b1eecea8140366f6258eebb244bdbd3b87c (diff) |
- patch submitted by guitargeek
-includes:
*Text3d accessors - ablity to manipulate FONT objects through python
*update to Object.link - calls text_to_curve upon ob_font link for drawing
*update to constant.h - constant type checking define
*update to curve.c - clamp values on getters/setters
*clean up of Text3d module
Diffstat (limited to 'source/blender/python/api2_2x/Object.c')
-rw-r--r-- | source/blender/python/api2_2x/Object.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c index 4eff722f5e3..74246bf674c 100644 --- a/source/blender/python/api2_2x/Object.c +++ b/source/blender/python/api2_2x/Object.c @@ -1305,6 +1305,10 @@ static PyObject *Object_link( BPy_Object * self, PyObject * args ) EXPP_synchronizeMaterialLists( self->object ); } + //creates the curve for the text object + if (self->object->type == OB_FONT) + text_to_curve(self->object, 0); + id_us_plus( id ); if( oldid ) { if( oldid->us > 0 ) { |