move mesh_vgroup_average to the weightpaint menu and rename. also added an option to add the active weight group or all groups.

- fix from 2.44 so makeDisplayList updates 3d text
This commit is contained in:
2007-08-12 06:14:33 +00:00
parent 0d5f195ba7
commit fb985daf01
2 changed files with 38 additions and 15 deletions

View File

@@ -70,6 +70,7 @@ struct rctf;
#include "BKE_idprop.h"
#include "BKE_object.h"
#include "BKE_key.h" /* for setting the activeShape */
#include "BKE_displist.h"
#include "BSE_editipo.h"
#include "BSE_edit.h"
@@ -1556,8 +1557,11 @@ static PyObject *Object_makeDisplayList( BPy_Object * self )
{
Object *ob = self->object;
if( ob->type == OB_FONT )
if( ob->type == OB_FONT ) {
Curve *cu = ob->data;
freedisplist( &cu->disp );
text_to_curve( ob, 0 );
}
DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);