Chris Mitchell (chris++at++scotch.physics.ucla.edu)
Wed, 9 Apr 1997 16:16:20 -0700 (PDT)
> It will safely delete only pfMemory objects or objects derived from pfMemory.
> It will stop following a chain as soon as it hits an object in that chain whose
> reference count is greater than zero.
So it seems you would have to write your own tree traversal to >really<
delete subgraphs, since the recursive deletion behavior of pfDelete mentioned in
the man pages will not work unless all nodes have refcount 0.
Wouldn't it be nice if you had some function in performer that deleted
everything in the scene graph below a node (like pfFree) but without
causing the "mysterious memory corruption" threatened on pfFree's man page?
Is there such a function?
Chris Mitchell
UCLA Physics Department
LAPD Plasma Lab
310-206-1772
chrism++at++ucla.edu
http://scotch.physics.ucla.edu/~chris
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:02 PDT