Combine LOD fixed properly this time :)

This commit is contained in:
Robert Osfield
2005-04-30 07:25:15 +00:00
parent bf03f094c2
commit 67baa30218

View File

@@ -1216,7 +1216,7 @@ void Optimizer::RemoveRedundantNodesVisitor::removeRedundantNodes()
////////////////////////////////////////////////////////////////////////////
void Optimizer::CombineLODsVisitor::apply(osg::LOD& lod)
{
if (dynamic_cast<osg::PagedLOD*>(&lod)!=0)
if (dynamic_cast<osg::PagedLOD*>(&lod)==0)
{
for(unsigned int i=0;i<lod.getNumParents();++i)
{