Re: [osg-users] Modifying Scene Graph in viewing loop...

2006-10-05 Thread Sebastian Olsson
Stephen Northcott wrote: ...hoping to reference it later... ...use lots of 'news' and pointers I guess you are using an ordinary pointer when trying to "reference it later" and then the actual object is already destroyed. If you in your code replace this ordinary pointer to be a osg::ref_ptr

Re: [osg-users] Modifying Scene Graph in viewing loop...

2006-10-05 Thread Stephen Northcott
Subject: Re: [osg-users] Modifying Scene Graph in viewing loop... HI Stephen, Modifying the scene graph between viewer.sync() and viewer.frame() is the appropriate thing to do. As to what might be the cause of the problem I have can't say with so little to go on. Robert. Hi R

Re: [osg-users] Modifying Scene Graph in viewing loop...

2006-10-04 Thread Robert Osfield
HI Stephen,Modifying the scene graph between viewer.sync() and viewer.frame() is the appropriate thing to do.  As to what might be the cause of the problem I have can't say with so little to go on.Robert. On 10/5/06, Stephen Northcott <[EMAIL PROTECTED]> wrote: Hi there..I am running a piece of tes

[osg-users] Modifying Scene Graph in viewing loop...

2006-10-04 Thread Stephen Northcott
Hi there.. I am running a piece of test code that has worked fine on my Mac installation of OSG before.. However, on the PC it is giving spurious crashes. One's which I am unable to pin a solution on, other than some kind of random corruption of data, or conflict.. Basically I am modify