Hi Robert, thanks for the answer. Does this mean I have to do
viewer.stopThreading(); viewer.setThreadingModel(osgViewer::ViewerBase::<Desired Threading Model>); viewer.startTheading() to change the model, or does setThreadingModel() imply stop() and start()? Best regards, Oli Am Mittwoch, 6. Oktober 2010, 19:25:13 schrieb Robert Osfield: > Hi Oliver, > > viewer.stopThreading() stops threading and viewer.startTheading() restarts > it. > > Robert. > > On Wed, Oct 6, 2010 at 6:19 PM, Oliver Burtchen <[email protected]> wrote: > > Hi, > > > > to debug my application I need to stop threading in update/cull > > traversals, better threading in osg at all. Is the following code > > enough, or do I need more? > > > > > > viewer.setThreadingModel(osgViewer::ViewerBase::SingleThreaded); > > > > while( !viewer.done() ) > > { > > ... > > viewer.frame(); > > ... > > } > > > > > > Best regards, > > Oli > > > > > > -- > > Oliver Burtchen, Berlin > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Oliver Burtchen, Berlin _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

