[Bf-python] Vertex Influence for no-armatured objs

models at paposo.com models at paposo.com
Mon Sep 8 07:20:20 CEST 2003


lol.  xorry im on an email frenzzy.
remove_verts_defgroup - will remove all verts in a group but ya' gotta be in
editmode. For doing the whole group.
remove_vert_def_nr - doesn't like editmode for some reason. I tried it. no
like. For doing 1 vertex at a time.

also i have:
 //enter editmode
 if((G.obedit == 0))
 {
  BASACT->object = object;
  G.obedit= BASACT->object;
 }

 //update the mesh
 make_editMesh();
 load_editMesh();

 //exit editmode
 G.obedit= 0;

as a sorta shortcut at the end of assign the vertices.  This just saves the
assignments to the mesh datablock.
The rest could probably be incorportated but i don't think stuff like
addvertexgroup really needs to be there 'cause it doesn't need to enter or
exit editmode. *?*




More information about the Bf-python mailing list