Show
Ignore:
Timestamp:
01/27/09 15:11:37 (4 years ago)
Author:
robert
Message:

Converted viewer camera references to use observer_ptr<> rather than ref_ptr<> or C pointers to avoid issues with circular references/dangling pointers.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgShadow/DebugShadowMap

    r9540 r9555  
    104104 
    105105            osg::Matrixd                   _viewProjection; 
    106             osg::Camera *                  _viewCamera; 
     106            osg::observer_ptr<osg::Camera> _viewCamera; 
    107107 
    108108            // Debug hud variables