[Bf-python] Another Mesh question

Chris Want cwant at ualberta.ca
Fri Mar 3 00:14:18 CET 2006


Ken Hughes wrote:
> Actually, me.verts = None is probably the best; after looking at the 
> code again, it calls free_mesh() and NULLs all the BPy object's pointers.
> 
> Ken

Thanks, that does the trick!

Next question: How does an MCol work?
Trying to add vertex colors to a face,
and I don't see a constructor for an
MCol (if I try to add ordinary tuples to
f.col to represent the colors it
complains that I'm not using MCol's).

By the way, this may be a bug, but the
code:

me.vertexColors = True

doesn't work (complains that I'm not using
0 or 1).

Chris



More information about the Bf-python mailing list