From f4a167c64c8874b8507e21af121088ec4879e10e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 10 Jul 2002 09:04:28 +0000 Subject: [PATCH] Added setCurrentRenderBin() method. --- include/osgUtil/CullVisitor | 5 +++++ 1 file changed, 5 insertions(+) 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; }