Skip to content

Commit

Permalink
Remove the screen capture handler from the example setup, since it do…
Browse files Browse the repository at this point in the history
…es not properly check for getHandled()
  • Loading branch information
gwaldron committed Jan 18, 2024
1 parent 0b2298a commit 1540636
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/osgEarth/ExampleResources.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,9 @@ MapNodeHelper::configureView( osgViewer::View* view ) const
view->addEventHandler(new osgViewer::LODScaleHandler());
view->addEventHandler(new osgGA::StateSetManipulator(view->getCamera()->getOrCreateStateSet()));
view->addEventHandler(new osgViewer::RecordCameraPathHandler());
view->addEventHandler(new osgViewer::ScreenCaptureHandler());

// Taking this out because it does not properly check getHandled()
//view->addEventHandler(new osgViewer::ScreenCaptureHandler());
}


Expand Down

0 comments on commit 1540636

Please sign in to comment.