"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Viewer/fg_os_osgviewer.cxx" between
flightgear-2020.3.7.tar.bz2 and flightgear-2020.3.8.tar.bz2

About: FlightGear is a multi-platform, cooperative flight simulator development project.

fg_os_osgviewer.cxx  (flightgear-2020.3.7.tar.bz2):fg_os_osgviewer.cxx  (flightgear-2020.3.8.tar.bz2)
skipping to change at line 394 skipping to change at line 394
{ {
if (viewer) { if (viewer) {
// https://code.google.com/p/flightgear-bugs/issues/detail?id=1291 // https://code.google.com/p/flightgear-bugs/issues/detail?id=1291
// https://sourceforge.net/p/flightgear/codetickets/1830/ // https://sourceforge.net/p/flightgear/codetickets/1830/
// explicitly stop threading before we delete the renderer or // explicitly stop threading before we delete the renderer or
// viewMgr (which ultimately holds refs to the CameraGroup, and // viewMgr (which ultimately holds refs to the CameraGroup, and
// GraphicsContext) // GraphicsContext)
viewer->stopThreading(); viewer->stopThreading();
} }
FGScenery::resetPagerSingleton(); FGScenery::resetPagerSingleton();
flightgear::addSentryBreadcrumb("fgOSCloseWindow, clearing camera group", "i nfo");
flightgear::CameraGroup::setDefault(NULL); flightgear::CameraGroup::setDefault(NULL);
WindowSystemAdapter::setWSA(NULL); WindowSystemAdapter::setWSA(NULL);
viewer = NULL; viewer = NULL;
} }
void fgOSFullScreen() void fgOSFullScreen()
{ {
std::vector<osgViewer::GraphicsWindow*> windows; std::vector<osgViewer::GraphicsWindow*> windows;
viewer->getWindows(windows); viewer->getWindows(windows);
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)