diff --git a/include/osg/Geode b/include/osg/Geode index cc8765de1..f1d1b332d 100644 --- a/include/osg/Geode +++ b/include/osg/Geode @@ -38,6 +38,7 @@ class OSG_EXPORT Geode : public Node META_Node(osg, Geode); + /** Add a \c Drawable to the \c Geode. * If \c drawable is not \c NULL and is not contained in the \c Geode * then increment its reference count, add it to the drawables list and @@ -121,6 +122,9 @@ class OSG_EXPORT Geode : public Node return _drawables.size(); // drawable not found. } + /** Get the list of drawables.*/ + const DrawableList& getDrawableList() const { return _drawables; } + /** Compile OpenGL Display List for each drawable.*/ void compileDrawables(State& state);