Show
Ignore:
Timestamp:
05/17/07 21:58:57 (8 years ago)
Author:
robert
Message:

Added support for View::setFustionDistance(..)

Files:
1 modified

Legend:

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

    r6051 r6690  
    501501    } 
    502502 
    503 #if 0 
    504     // set all the sceneview's up so that their left and right add cull masks are set up. 
    505     for(osgProducer::OsgCameraGroup::SceneHandlerList::iterator itr=viewer.getSceneHandlerList().begin(); 
    506         itr!=viewer.getSceneHandlerList().end(); 
    507         ++itr) 
    508     { 
    509         osgUtil::SceneView* sceneview = (*itr)->getSceneView(); 
    510         sceneview->setFusionDistance(osgUtil::SceneView::USE_FUSION_DISTANCE_VALUE,radius); 
    511     } 
    512 #endif 
     503    viewer.setFusionDistance(osgUtil::SceneView::USE_FUSION_DISTANCE_VALUE,radius); 
    513504 
    514505    // set up the SlideEventHandler.