[info-performer] Problems deleting nodes between frames

Date view Thread view Subject view Author view

From: Jaroslav Sinecky (jsin++at++host.sk)
Date: 01/09/2004 07:31:57


Hi All!
I'm trying to make some changes to my scene graph between frames but it
crashes in pfSync() probably because of the delayed deletes that take place
there. I finished with the most simple case just inserting following lines
of code in the loop of simple.cxx sample and it behaves the same:

pfGroup* gr = new pfGroup;
gr->ref();
gr->unrefDelete();

It should be something related to unrefDelete() also because when I use
ref() + pfDelete() it runs ok. Also doing the same but in C version of
simple sample is ok.

So is it a bug or I'm doing something wrong?

Jaroslav


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Jan 09 2004 - 08:54:01 PST