EggData, EggNode unparent

Hi.

I’m still trying to improved the performance for my application.
One think that I try is to load Egg file, modify them ( using other simpler texture,…) and write them in another file.

So far so good, I think that most of my operation will work.
Problem: sometimes I will have to suppress a element( an eggTexture)
And, stupidly, I can’t find the ‘unparent’ method !

in all the reference, I can’t find how I can delete a element inside the EggData ?

can anyone tell me how to do it ? ( I already have deleted all the reference of this texture inside the polygon)

You mean like parent.removeChild(child)?

David

thank.
Now I know I’m really blind :stuck_out_tongue: