[Bf-python] Scriptlink memory link
Campbell Barton
cbarton at metavr.com
Sun Oct 15 06:11:40 CEST 2006
Thats ok, but in this situation he's using vertex groups so it needs to
be assigned to an object,\
also editnmode tools require it.
Ken Hughes wrote:
> Campbell Barton wrote:
>> Its not a memory leak exactly, your making a new mesh each time the
>> script runs
>> Ken hows about Mesh.Unlink() for zero user meshes?
>
> We've been over this many times on the list in in IRC. If you don't
> want the mesh to be "permanent", don't assign it to an object. If the
> mesh is created in the script with Mesh.New() and isn't linked to an
> object, then it should be freed when the object is deallocated.
> Otherwise it's subject to the Blender rules.
>
> Ken
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-python
mailing list