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
commit a6fbf73f36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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; const osg::Light* selectLight = 0;