-- Bugfix #3520: Text with extrusion and/or bevelling would would disappear

when edit mode was entered.
This commit is contained in:
Ken Hughes 2005-12-09 14:30:51 +00:00
parent cf42e62ebb
commit 1e589f59d0

@ -1182,8 +1182,11 @@ void makebevelcurve(Object *ob, ListBase *disp)
int nr, a; int nr, a;
cu= ob->data; cu= ob->data;
disp->first = disp->last = NULL; disp->first = disp->last = NULL;
/* if a font object is being edited, then do nothing */
if( ob == G.obedit && ob->type == OB_FONT ) return;
if(cu->bevobj && cu->bevobj!=ob) { if(cu->bevobj && cu->bevobj!=ob) {
if(cu->bevobj->type==OB_CURVE) { if(cu->bevobj->type==OB_CURVE) {
bevcu= cu->bevobj->data; bevcu= cu->bevobj->data;