[Papervision3D] removing DAE from memory
Chris Etches
chris.etches at gmail.com
Fri Feb 6 05:05:38 PST 2009
Hi,
apologies if this has been asked before, but I have just joined the
list and have been tearing my hair out over this problem.
I am loading in a Collada file using the code below
(pandaModelData is a Collada file just stored inside the movie as a
variable, to allow me to have one file for my entire game; this is for
distribution purposes)
player = new Object();
player.model = new DAE();
player.model.load(pandaModelData, null);
scene.addChild(player.model );
Later I am then removing by doing the following :
scene.removeChild(player.model);
player.model = null;
player = null;
Which all works fine, except the memory is not being freed up, is
there something I am missing? I have removed every listener from the
objects, and have even tried forcing a Garbage Collections. Any help
would be much appreciated,
thanks
Chris
--
new fangled portable telephone : 07812 433195
old fashioned stuck to the desk kinda phone : 020 7770 6233
webbernet : http://www.kill5.com
More information about the Papervision3D
mailing list