Added handling of Drawables added directly to scene graph without Geode decorating them.

git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14386 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
Robert Osfield
2014-07-28 16:19:44 +00:00
parent 23ae292fe2
commit e65d03bf27
2 changed files with 3 additions and 19 deletions

View File

@@ -36,17 +36,14 @@ public:
void getBase(osg::Polytope& polytope, float margin=0.1) const;
void apply(osg::Node& node);
void apply(osg::Drawable& drawable);
void apply(osg::Transform& transform);
void apply(osg::Geode& geode);
inline void pushMatrix(osg::Matrix& matrix) { _matrixStack.push_back(matrix); }
inline void popMatrix() { _matrixStack.pop_back(); }
void applyDrawable(osg::Drawable* drawable);
void applyBoundingBox(const osg::BoundingBox&);