From d74d62ed0bd09e18a0cecdea848a379e16c6589b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 21 May 2007 18:17:54 +0000 Subject: [PATCH] Fixed Viewer::checkWindowStatus() to work correctly when running single threaded --- src/osgViewer/Viewer.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/osgViewer/Viewer.cpp b/src/osgViewer/Viewer.cpp index 0933430e4..d70b53e3f 100644 --- a/src/osgViewer/Viewer.cpp +++ b/src/osgViewer/Viewer.cpp @@ -1305,14 +1305,19 @@ void Viewer::checkWindowStatus() { Contexts contexts; getContexts(contexts); - - if (_numWindowsOpenAtLastSetUpThreading != contexts.size() && _threadsRunning) + + osg::notify(osg::NOTICE)<<"Viewer::checkWindowStatus() - "<