From Stephan Huber, added reset of _currentContext when graphics context is closed.

This commit is contained in:
Robert Osfield
2007-07-27 17:07:44 +00:00
parent 2faf38f68f
commit 3d9d666b02

View File

@@ -2017,6 +2017,7 @@ void Viewer::eventTraversal()
if (wasThreading) stopThreading();
gw->close();
_currentContext = NULL;
if (wasThreading) startThreading();