Re: a problem with pfBuffers in 2.0?
John Rohlf (jrohlf++at++tubes)
Fri, 19 Jan 96 12:09:43 PST
>
> I have been working with pfBuffers in Performer 2.0 beta (a151). I have
> noticed some unusual behavior and was hoping some one could tell me why the
> following code segment is valid. I'm running it on an Indigo2 and I have
> verified that the pfDBase process in getting forked and also that this code is
> being called in that forked process:
>
> tempPage->node = new pfSCS (theMat);
> pfNode *tile = pfdLoadFile (buf);
> tempPage->node->addChild (tile);
> [...]
> scene->bufferAddChild (tempPage->node);
> pfBuffer::merge ();
>
> While this one:
>
> pfNode *tile = pfdLoadFile (buf);
> tempPage->node = new pfSCS (theMat);
> tempPage->node->addChild (tile);
> [...]
> scene->bufferAddChild (tempPage->node);
> pfBuffer::merge ();
>
> causes a core dump with dbx having the following to say:
>
This is a bug - parents need to be created before their children.
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:52:16 PDT