Brian P Theodore (theodore++at++cs.ucdavis.edu)
Thu, 12 Jan 1995 17:13:03 -0800
To the first question, I don't know! But it does not use pfFree on
the node itself. If you try to use pfFree, you should get a Performer
Warning that the node base address wasn't allocated using pfMalloc.
Good question though, I had a similar problem, which I have since
worked around. But if you import in a model object, and wish to
make instances of that object (using pfClone), and later call
pfDelete on the cloned instance, it will also remove (delete) the
original object! I didn't get a warm and fuzzy feeling that memory
allocated for the instance was being freed when just calling
pfRemoveChild. Another thing I tried to before calling pfDelete
on the instance was to increase the reference count above 0, then
return it to its original state after the call to pfDelete.... Only
to find that the initial, incremented, and restored reference counts
were -1, -1, and -1 respectively!
Any insight??
Brian Theodore
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:52 PDT