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/osgoccluder/osgoccluder.cpp

    r1697 r1714  
    348348    if (manuallyCreateOccluders) 
    349349    { 
    350         osgUtil::SceneView* sceneview = viewer.getSceneHandlerList()[0]; 
     350        osgUtil::SceneView* sceneview = viewer.getSceneHandlerList()[0].get(); 
    351351     
    352352        viewer.getEventHandlerList().push_front(new OccluderEventHandler(sceneview,rootnode));