Fixed popStateSet
This commit is contained in:
parent
524417f981
commit
ff00f888db
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user