From 064c39a7f35f91e75788c017e3c5374925775b0a Mon Sep 17 00:00:00 2001 From: Julien Valentin Date: Tue, 11 Dec 2018 23:56:47 +0100 Subject: [PATCH] remove dead code --- src/osgShadow/ParallelSplitShadowMap.cpp | 6 ------ 1 file changed, 6 deletions(-) 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;