Kowsik Guruswamy (kowsik++at++buggy.coryphaeus.com)
Sat, 3 Feb 1996 10:24:25 -0800
pfScene *scene;
pfNode *root;
...
// You need to remove the root from the scene before deleting it, so that
// its reference count is decremented.
scene->removeChild (root);
delete root;
root = pfdLoadFile ("...");
scene->addChild (root);
Hope that helps,
K.
-- kowsik++at++coryphaeus.com | pirts suiboM a hguorht neeb sah txet sihT http://www.coryphaeus.com |
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:21 PDT