From f006d081e5d75cd87b21f5f12232b2b968595981 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 16 Sep 2002 10:55:09 +0000 Subject: [PATCH] Commented out the call to combine LOD's in the optimizer as it was causing problems in some flt datasets. --- src/osgUtil/Optimizer.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/osgUtil/Optimizer.cpp b/src/osgUtil/Optimizer.cpp index 79aec781f..96536ea5e 100644 --- a/src/osgUtil/Optimizer.cpp +++ b/src/osgUtil/Optimizer.cpp @@ -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) {