Show
Ignore:
Timestamp:
09/01/14 21:13:35 (4 hours ago)
Author:
robert
Message:

Added DragCallback? class to help dialog dragging support.
Introduced a new Widget::computeExtentsPositionInLocalCoordinates() method that intersects with a ray through mouse pointer and the extents of the widget.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgViewer/GraphicsWindowX11.cpp

    r13041 r13130  
    718718 
    719719    // get any shared GLX contexts 
    720     GraphicsHandleX11* graphicsHandleX11 = dynamic_cast<GraphicsHandleX11*>(_traits->sharedContext); 
     720    GraphicsHandleX11* graphicsHandleX11 = dynamic_cast<GraphicsHandleX11*>(_traits->sharedContext.get()); 
    721721    Context sharedContext = graphicsHandleX11 ? graphicsHandleX11->getContext() : 0; 
    722722