diff --git a/src/osgShadow/ParallelSplitShadowMap.cpp b/src/osgShadow/ParallelSplitShadowMap.cpp index ea47ee0cc..6a2bf999c 100644 --- a/src/osgShadow/ParallelSplitShadowMap.cpp +++ b/src/osgShadow/ParallelSplitShadowMap.cpp @@ -626,12 +626,6 @@ void ParallelSplitShadowMap::cull(osgUtil::CullVisitor& cv){ } - // need to compute view frustum for RTT camera. - // get the bounds of the model. - osg::ComputeBoundsVisitor cbbv(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN); - cbbv.setTraversalMask(getShadowedScene()->getCastsShadowTraversalMask()); - _shadowedScene->osg::Group::traverse(cbbv); - ////////////////////////////////////////////////////////////////////////// const osg::Light* selectLight = 0;