Show
Ignore:
Timestamp:
09/01/14 21:13:35 (108 minutes 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/include/osgViewer/api/Cocoa/GraphicsWindowCocoa

    r12938 r13130  
    7777                getState()->setGraphicsContext(this); 
    7878 
    79                 if (_traits.valid() && _traits->sharedContext) 
     79                if (_traits.valid() && _traits->sharedContext.valid()) 
    8080                { 
    8181                    getState()->setContextID( _traits->sharedContext->getState()->getContextID() );