Changed the threading model to single threaded.

This commit is contained in:
Robert Osfield 2007-10-05 09:03:51 +00:00
parent 0d8673a9a4
commit b5f681b86f

View File

@ -683,7 +683,9 @@ int main( int argc, char **argv )
// construct the viewer.
osgViewer::Viewer viewer;
osgViewer::Viewer viewer(arguments);
viewer.setThreadingModel(osgViewer::Viewer::SingleThreaded);
// register the handler to add keyboard and mosue handling.
SlideEventHandler* seh = new SlideEventHandler();