Temporily commented out the call to the FlatternStaticTransformVisitor to

prevent a bug in handling instance nodes.  Will be commented back in once the
bug has been solved.
This commit is contained in:
Robert Osfield
2002-01-22 12:03:47 +00:00
parent bebcba5151
commit d115e143b5

View File

@@ -24,14 +24,14 @@ void Optimizer::optimize(osg::Node* node, unsigned int options)
node->accept(clv);
clv.combineLODs();
}
/*
if (options & FLATTEN_STATIC_TRANSFORMS)
{
FlattenStaticTransformsVisitor fstv;
node->accept(fstv);
fstv.removeTransforms();
}
*/
if (options & REMOVE_REDUNDENT_NODES)
{
RemoveRedundentNodesVisitor rrnv;