[osg-submissions] [osg-users] Bug: hang when closing all windows except the last opened (Mac OS X / Win 32 / SingleThreaded)
Robert Osfield
robert.osfield at gmail.com
Fri Jul 27 08:38:02 PDT 2007
Hi Stephan,
On 7/27/07, Stephan Maximilian Huber <ratzfatz at digitalmind.de> wrote:
> After some debugging the cause for this hang is:
>
> If you close all windows except the last opened, osgViewer::Viewer does
> not make the last context current again, because it thinks that this
> context is still the current one (in osgViewer::makeCurrent) To fix this
> bug, osgViewer has to reset _currentContext after a window got closed.
I was wondering if the lazy makeCurrent support I added into
osgViewer::Viewer might be the culprit here.
> I did a quick fix in osgViewer.cpp, but please review my change, there
> is perhaps a better fix to this bug.
I'm currently busy with moving svn across to work on
openscenegraph.org, once things are working and cleared my inbox I'll
review your changes.
Cheers,
Robert.
More information about the osg-submissions
mailing list