Merge pull request #757 from LaurensVoerman/rendererNoRefCount

fix compile error if OSGUTIL_RENDERBACKEND_USE_REF_PTR not defined in include/osgUtil/RenderLeaf
OpenSceneGraph-3.6
OpenSceneGraph git repository 5 years ago committed by GitHub
commit c1757aadb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)
{}

Loading…
Cancel
Save