Show
Ignore:
Timestamp:
10/21/14 17:10:27 (2 days ago)
Author:
robert
Message:

Added shaders to support experimental shader based displacement mapping technique osgTerrain::ShaderTerrain?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgManipulator/Dragger.cpp

    r13415 r13890  
    306306                ++itr) 
    307307            { 
    308                 osgGA::GUIEventAdapter* ea = itr->get(); 
    309                 if (handle(*ea, *(ev->getActionAdapter()))) ea->setHandled(true); 
     308                osgGA::GUIEventAdapter* ea = (*itr)->asGUIEventAdapter(); 
     309                if (ea && handle(*ea, *(ev->getActionAdapter()))) ea->setHandled(true); 
    310310            } 
    311311        }