Fixed the optimization of the orientation conversion.

This commit is contained in:
Robert Osfield
2002-07-15 13:13:46 +00:00
parent e6f48efe78
commit 0a6fdb6ae0

View File

@@ -57,7 +57,7 @@ Node* OrientationConverter::convert( Node *node )
transform->addChild(node);
osgUtil::Optimizer::FlattenStaticTransformsVisitor fstv;
node->accept(fstv);
root->accept(fstv);
fstv.removeTransforms();
return root->getChild(0);