Show
Ignore:
Timestamp:
03/18/03 21:27:09 (11 years ago)
Author:
robert
Message:

Chaned the OsgCameraGroup? so that its scene handler list used ref_ptr<> for
robustly managing memory.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osglight/osglight.cpp

    r1697 r1714  
    356356        ++itr) 
    357357    { 
    358         osgUtil::SceneView* sceneview = *itr; 
    359358        // switch off small feature culling to prevent the light points from being culled. 
     359        osgUtil::SceneView* sceneview = itr->get(); 
    360360        sceneview->setCullingMode( sceneview->getCullingMode() & ~osg::CullStack::SMALL_FEATURE_CULLING); 
    361         //sceneview->setCullingMode( 0); 
    362361    } 
    363362