Show
Ignore:
Timestamp:
06/06/08 12:51:23 (7 years ago)
Author:
robert
Message:

Added update traversal to run prior to doing kdtree build to make sure that
costs in build osgTerrain databases isn't incurred during the build traversal.

Files:
1 modified

Legend:

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

    r8411 r8414  
    3333#include <osgUtil/IntersectionVisitor> 
    3434#include <osgUtil/LineSegmentIntersector> 
     35#include <osgUtil/UpdateVisitor> 
    3536 
    3637#include <osgSim/LineOfSight> 
     
    486487 
    487488 
     489    osgUtil::UpdateVisitor updateVisitor; 
     490    scene->accept(updateVisitor); 
     491 
     492 
    488493    osg::Timer_t start = osg::Timer::instance()->tick(); 
    489494