- 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
This commit is contained in:
2005-03-19 03:24:00 +00:00
parent f61c5b1eec
commit cbbe236f92
6 changed files with 653 additions and 124 deletions

View File

@@ -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 ) {