Show
Ignore:
Timestamp:
08/27/14 17:08:48 (4 hours ago)
Author:
robert
Message:

Changed the osgUI behaviour so that events are set to be handled by Widgets that have focus even if they don't directly use them.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgViewer/GraphicsWindow

    r12305 r13130  
    248248                getState()->setGraphicsContext(this); 
    249249 
    250                 if (_traits.valid() && _traits->sharedContext) 
     250                if (_traits.valid() && _traits->sharedContext.valid()) 
    251251                { 
    252252                    getState()->setContextID( _traits->sharedContext->getState()->getContextID() );