From Joakim Simmonsson, fix for handling of billboards in FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS

This commit is contained in:
Robert Osfield
2008-11-25 14:31:19 +00:00
parent b6fe330b85
commit 017b4315bc
2 changed files with 56 additions and 34 deletions

View File

@@ -310,7 +310,8 @@ class OSGUTIL_EXPORT Optimizer
protected:
void transformDrawables(osg::Geode& geode);
void transformGeode(osg::Geode& geode);
void transformDrawable(osg::Drawable& drawable);
void transformBillboard(osg::Billboard& billboard);
std::vector<osg::Matrix> _matrixStack;