Fixed the optimization of the orientation conversion.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user