Changed the threading model to single threaded.
This commit is contained in:
parent
0d8673a9a4
commit
b5f681b86f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user