diff --git a/src/osgPlugins/txp/TXPNode.cpp b/src/osgPlugins/txp/TXPNode.cpp index 1446d2a42..515e742e3 100644 --- a/src/osgPlugins/txp/TXPNode.cpp +++ b/src/osgPlugins/txp/TXPNode.cpp @@ -56,11 +56,15 @@ void TXPNode::traverse(osg::NodeVisitor& nv) osgUtil::CullVisitor* cv = dynamic_cast(&nv); if (cv) { - //const osg::Timer& timer = *osg::Timer::instance(); - //osg::Timer_t start = timer.tick(); - //std::cout<<"Doing visible tile search"< tileMapper = new TileMapper; + tileMapper->setLODScale(cv->getLODScale()); tileMapper->pushViewport(cv->getViewport()); tileMapper->pushProjectionMatrix(&(cv->getProjectionMatrix())); tileMapper->pushModelViewMatrix(&(cv->getModelViewMatrix())); @@ -78,7 +82,9 @@ void TXPNode::traverse(osg::NodeVisitor& nv) cv->setUserData(tileMapper.get()); - //std::cout<<"Completed visible tile search in "<