diff --git a/include/osg/ShapeDrawable b/include/osg/ShapeDrawable index 24266b207..e99f59bb9 100644 --- a/include/osg/ShapeDrawable +++ b/include/osg/ShapeDrawable @@ -162,6 +162,11 @@ class OSG_EXPORT ShapeDrawable : public Drawable */ virtual void drawImplementation(State& state) const; + /* Not all virtual overloads of these methods are overridden in this class, so + bring the base class implementation in to avoid hiding the non-used ones. */ + using Drawable::supports; + using Drawable::accept; + /** Return false, osg::ShapeDrawable does not support accept(AttributeFunctor&).*/ virtual bool supports(const AttributeFunctor&) const { return false; }