From Stephan Huber, added reset of _currentContext when graphics context is closed.
This commit is contained in:
@@ -2017,6 +2017,7 @@ void Viewer::eventTraversal()
|
||||
if (wasThreading) stopThreading();
|
||||
|
||||
gw->close();
|
||||
_currentContext = NULL;
|
||||
|
||||
if (wasThreading) startThreading();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user