Fixed remove transform code to work with the new extra paramter require by osgUtil::Optimizer.
This commit is contained in:
@@ -58,7 +58,7 @@ Node* OrientationConverter::convert( Node *node )
|
||||
|
||||
osgUtil::Optimizer::FlattenStaticTransformsVisitor fstv;
|
||||
root->accept(fstv);
|
||||
fstv.removeTransforms();
|
||||
fstv.removeTransforms(root);
|
||||
|
||||
return root->getChild(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user