Skip to content

Commit

Permalink
Merge viewpoints extension handler fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Jan 12, 2024
1 parent e1b2a3e commit bc6e0e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/osgEarthDrivers/viewpoints/ViewpointsExtension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ namespace

bool handle( const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa )
{
if (ea.getHandled())
return false;

if ( _mapKeys && ea.getEventType() == ea.KEYDOWN )
{
if ( !_viewpoints.empty() && _autoRunDelay <= 0.0f )
Expand Down

0 comments on commit bc6e0e1

Please sign in to comment.