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

models at paposo.com models at paposo.com
Sat Sep 13 15:06:14 CEST 2003


> It should also check if the object is linked to this specific mesh, via
> their pointers...

Done.  The problem is this line:

/* hack: to mark that (deformed) mesh is readonly, so the update function
 * will not try to write it. */
  ((BPy_NMesh *)nmesh)->mesh = 0;

in NMesh.c

When you get a mesh from an object it sets the pointer to NULL. This will
not allow proper pointer testing. Can we get rid of this...?

> mydevice.h ... a redraw define, I suppose.  Maybe the function from
Window.c
> can do that for you.

My bad, it's already linked.

Check out M_NMesh_PutRaw:

  if (!during_script())
    allqueue(REDRAWVIEW3D, 0);




More information about the Bf-python mailing list