Re: a problem with pfBuffers in 2.0?

New Message Reply Date view Thread view Subject view Author view

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.


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:16 PDT

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