Removed redudent check against frustum.getCurrentMask()
This commit is contained in:
parent
0442237ec1
commit
a4ff2c4af7
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user