pfDelete

New Message Reply Date view Thread view Subject view Author view

Paul Levy (plevy++at++camberva.com)
Mon, 29 Jan 1996 18:57:40 -0500 (EST)


In my 1.2 application I want to be able to load and delete various models as
the application is running. If I load the models with:

node=LoadFile(file, NULL);
pfAddChild(scene, node);

how do delete the model? I have tried:

pfRemoveChild(scene,node);
worked=(pfDelete(node));

That seems to remove it from the scene, but the memory does not seem to
be released. If I continually load/delete models, the memory usage continues
to climb until I am out of memory.

Is there some procedure for reclaiming the memory or another way to
delete nodes?

Thanks.
================================================================================
Paul A. Levy Software Engineer
Camber Corporation E-mail: plevy++at++camberva.com
7411 Alban Station Court, Ste B250 Voice: (703)866-5404
Springfield, Virginia 22150 Fax: (703)866-5409


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:18 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.