diff --git a/include/osgUtil/CullVisitor b/include/osgUtil/CullVisitor index 038b661b2..580617705 100644 --- a/include/osgUtil/CullVisitor +++ b/include/osgUtil/CullVisitor @@ -176,6 +176,11 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor, public osg::CullStac return _currentRenderBin; } + inline void setCurrentRenderBin(RenderBin* rb) + { + _currentRenderBin = rb; + } + inline const float getCalculatedNearPlane() const { return _computed_znear; } inline const float getCalculatedFarPlane() const { return _computed_zfar; }