File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -310,10 +310,9 @@ void GlobePlugin::run()
310
310
311
311
// add our handlers
312
312
mOsgViewer ->addEventHandler ( new FlyToExtentHandler ( this ) );
313
- mOsgViewer ->addEventHandler ( new KeyboardControlHandler ( manip, mQGisIface ) );
313
+ mOsgViewer ->addEventHandler ( new KeyboardControlHandler ( manip ) );
314
314
315
- #ifdef HAVE_OSGEARTH_ELEVATION_QUERY
316
- #else
315
+ #ifndef HAVE_OSGEARTH_ELEVATION_QUERY
317
316
mOsgViewer ->addEventHandler ( new QueryCoordinatesHandler ( this , mElevationManager ,
318
317
mMapNode ->getMap ()->getProfile ()->getSRS () )
319
318
);
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ class QueryCoordinatesHandler : public osgGA::GUIEventHandler
200
200
class KeyboardControlHandler : public osgGA ::GUIEventHandler
201
201
{
202
202
public:
203
- KeyboardControlHandler ( osgEarth::Util::EarthManipulator* manip, QgisInterface * ) : _manip( manip ) { }
203
+ KeyboardControlHandler ( osgEarth::Util::EarthManipulator* manip ) : _manip( manip ) { }
204
204
205
205
bool handle ( const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa );
206
206
You can’t perform that action at this time.
0 commit comments