Commented out the call to combine LOD's in the optimizer as it was causing

problems in some flt datasets.
This commit is contained in:
Robert Osfield
2002-09-16 10:55:09 +00:00
parent ce36cda0cc
commit f006d081e5

View File

@@ -22,12 +22,13 @@ using namespace osgUtil;
void Optimizer::optimize(osg::Node* node, unsigned int options)
{
if (options & COMBINE_ADJACENT_LODS)
{
CombineLODsVisitor clv;
node->accept(clv);
clv.combineLODs();
}
// temporarily commented out to prevent problems with combining FLT lod's inapporpriately,
// if (options & COMBINE_ADJACENT_LODS)
// {
// CombineLODsVisitor clv;
// node->accept(clv);
// clv.combineLODs();
// }
if (options & FLATTEN_STATIC_TRANSFORMS)
{