StaticObjectDetectionVisitor: make use of apply(Drawable) visitor function

This commit is contained in:
scrawl
2017-01-20 21:48:45 +01:00
parent 764b2f60c6
commit ff1a9a195a
2 changed files with 4 additions and 19 deletions

View File

@@ -847,15 +847,12 @@ class OSGUTIL_EXPORT Optimizer
BaseOptimizerVisitor(optimizer, STATIC_OBJECT_DETECTION) {}
virtual void apply(osg::Node& node);
virtual void apply(osg::Geode& geode);
virtual void apply(osg::Drawable& drawable);
protected:
void applyStateSet(osg::StateSet& stateset);
void applyDrawable(osg::Drawable& drawable);
};
/** For all geometry apply settings.*/