Merge pull request #757 from LaurensVoerman/rendererNoRefCount

fix compile error if OSGUTIL_RENDERBACKEND_USE_REF_PTR not defined in include/osgUtil/RenderLeaf
This commit is contained in:
OpenSceneGraph git repository
2019-06-14 14:29:32 +01:00
committed by GitHub

View File

@@ -205,7 +205,7 @@ void LightPointNode::traverse(osg::NodeVisitor& nv)
// as this will be our special light point drawable.
osgUtil::StateGraph::LeafList::iterator litr;
for(litr = rg->_leaves.begin();
litr != rg->_leaves.end() && (*litr)->_drawable.get()!=drawable;
litr != rg->_leaves.end() && (*litr)->getDrawable()!=drawable;
++litr)
{}