[Bf-python] Scriptlink memory link
Ken Hughes
khughes at pacific.edu
Sun Oct 15 01:48:25 CEST 2006
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
More information about the Bf-python
mailing list