[info-performer] Re: 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:43:24


Just to be complete: it's on Win2000, Performer 3.1 Alpha 9.

By the way, I don't know much about pfBuffer functionality but is it
necessary that even in my simple application with one process and one thread
pfNode deletes are delayed till pfSync()?

-----Original Message-----
From: Jaroslav Sinecky [mailto:jsin++at++host.sk]
Sent: Friday, January 09, 2004 4:32 PM
To: Info-Performer
Subject: Problems deleting nodes between frames

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:56:41 PST