From 0a6fdb6ae07b87378fe6e082f955865079a198f1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 15 Jul 2002 13:13:46 +0000 Subject: [PATCH] Fixed the optimization of the orientation conversion. --- src/Demos/osgconv/OrientationConverter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Demos/osgconv/OrientationConverter.cpp b/src/Demos/osgconv/OrientationConverter.cpp index 9f3a486a9..fa4a1a4cb 100644 --- a/src/Demos/osgconv/OrientationConverter.cpp +++ b/src/Demos/osgconv/OrientationConverter.cpp @@ -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);