[Bf-python] Another Mesh question
Chris Want
cwant at ualberta.ca
Wed Mar 8 01:43:05 CET 2006
Ken Hughes wrote:
> Can't blame this on the medication, although I thought I'd fixed this
> before. You can't enable vertexColors on a mesh without faces, so if
> you're building from scratch you have to .extend() first. However,
> .extend() is *supposed to* handle added the extra tface/mcol info when
> the faces exist.
This is a situation where I wiped out old date
using the me.verts = None first, then started to
reuse the mesh -- maybe when the me.verts is wiped
out the flag that tells the vertex colors that there
are no faces needs reseting?
> I can't reproduce the segfault here: can you upload an example script to
> the bug tracker?
I'll try to upload a blend when I get a chance
-- the particular blend I am using links to the
VTK libraries so it's probably not a good clear example.
The crash does not happen immediately after extending
the faces, but happens when I start setting col's
of the faces (usually happens after the first couple
of faces, but I have had it work for up to 5000 faces
before it crashed).
Regards,
Chris
More information about the Bf-python
mailing list