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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user