Removed redudent check against frustum.getCurrentMask()

This commit is contained in:
Robert Osfield 2009-05-08 12:53:11 +00:00
parent 0442237ec1
commit a4ff2c4af7

View File

@ -604,7 +604,7 @@ bool CullVisitor::updateCalculatedNearFar(const osg::Matrix& matrix,const osg::D
if (_computeNearFar==COMPUTE_NEAR_FAR_USING_PRIMITIVES)
{
osg::Polytope& frustum = getCurrentCullingSet().getFrustum();
if (frustum.getCurrentMask() && frustum.getResultMask())
if (frustum.getResultMask())
{
if (isBillboard)
{