So you're going to put destroys for everything in the tree?  I gather
all these things need to be cleared
Object3D
materialLibrary
        - dict of materialData
        - may contain bitmapdata
geometryLibrary
        - _geometryArray array of GeometryData
animationLibrary

Mesh
_materialsCacheList vect
_screenVertices vect
_uvtData vect
_indices vect
_faces vect
_faceLengths vect
_sort vest
_vertices vect
_faceMaterials vect
_vertexNormals vect
_material vect

ObjectContainer3D
_children
_sprites
_spriteVertices
_spriteIndices
_viewDecomposed


And then there's references in the scene, view.. but I guess it's not
hard for you to clean up memory since you know the structure and
references..  basically, it'd be nice if it could be memory clean or
else I'm going to have to start editing code..  Right now I was trying
to hack around it by subclassing ObjectContainer3D, and creating a
method that iterates over everything (as much as I can get my hands
on) an deleting it...  but that's very tough.  Delete should just be
in there by default..

On Feb 24, 11:16 am, katopz <kat...@gmail.com> wrote:
> Hey kensuguro
>
> i did plan for add destroy function after merging revision,
> should be finish in this weekend i hope
>
> Cheers
>
> On 24 February 2010 22:49, kensuguro <magronb...@gmail.com> wrote:
>
> > how are you supposed to destroy these things?  It appears to me that
> > there is no destroying for anything in away3dlite..  am I seeing
> > things?
>
> --
> katopzhttp://www.sleepydesign.com

Reply via email to