> >Is it a no-op if the
> > threading model is SingleThreaded?
> 
> Yes indeed.

So, from the way I read the original poster's problem, he could still
experience a crash in the SingleThreaded case, because his own separate
thread is changing the scene graph out from under the Viewer while OSG is
processing the old scene graph.

In addition to stopThreading(), I'd think he would also need to block or
gate his separate thread so that it only swaps out the scene graph after
draw() completes and before update() starts. Or is this not necessary
because of reference counted memory?
   -Paul

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to