From b5f681b86f8ad9dbea0795d72ca01908483c8312 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 5 Oct 2007 09:03:51 +0000 Subject: [PATCH] Changed the threading model to single threaded. --- examples/osgphotoalbum/osgphotoalbum.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/osgphotoalbum/osgphotoalbum.cpp b/examples/osgphotoalbum/osgphotoalbum.cpp index 6b5511586..0773bb4ef 100644 --- a/examples/osgphotoalbum/osgphotoalbum.cpp +++ b/examples/osgphotoalbum/osgphotoalbum.cpp @@ -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();