Hi Cory, On Wed, Mar 11, 2009 at 8:24 PM, Cory Riddell <[email protected]> wrote: > If I started the viewer with the run() method (in a separate thread), is > it sufficient to call viewer->setDone(true) to stop it? Do I have to > call viewer->stopThreading() after calling setDone?
Setting viewer->setDone(true) should be sufficient, it should cause the view to exit the main frame loop inside Viewer::run(). It won't destroy any threads though, if you want to do this then you'll need to call stopThreading. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

