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

Willian Padovani Germano wgermano at ig.com.br
Sun Sep 14 04:51:40 CEST 2003


----- Original Message -----
From: <models at paposo.com>
To: <bf-python at blender.org>
Sent: Saturday, September 13, 2003 9:35 PM
Subject: Re: [Bf-python] Vertex Influence for no-armatured objs


>
> Why not just update the displist then on a call to update with a mesh from
> object? Maybe just call void makeDispList(Object *ob) and pass it the
object
> the mesh came from. makeDispList will free the original displist and
replace
> it with a new one.

Because when they did it, there was no support for armatures.  And even now,
it wouldn't be wise to do this, probably, because if the user changed the
mesh (only reason to want to update it) the old armature/bones may need to
be redone (because of deleted verts, new verts, moved verts).  I guess they
were smart to give an option to access data from the dl mesh but prevent
users from changing the 'top-level' mesh, both are different things.  Think
about the dl mesh as a shortcut, specially useful for export scripts that
want the verts already transformed.

--
Willian, wgermano at ig.com.br




More information about the Bf-python mailing list