Fixed popStateSet

This commit is contained in:
Robert Osfield 2006-07-14 11:34:13 +00:00
parent 524417f981
commit ff00f888db

View File

@ -111,7 +111,6 @@ class OSGUTIL_EXPORT CullVisitor : public osg::NodeVisitor, public osg::CullStac
const osg::StateSet* ss = _currentStateGraph->_stateset;
if (_numberOfEncloseOverrideRenderBinDetails==0 && ss->useRenderBinDetails() && !ss->getBinName().empty())
{
_currentRenderBin = _currentRenderBin->getParent();
if (_currentRenderBin->getParent())
{
_currentRenderBin = _currentRenderBin->getParent();