Merge pull request #671 from mp3butcher/patch-16

remove useless code
This commit is contained in:
OpenSceneGraph git repository
2018-12-13 08:31:27 +00:00
committed by GitHub

View File

@@ -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;