fix compile error if OSGUTIL_RENDERBACKEND_USE_REF_PTR not defined in include/osgUtil/RenderLeaf

This commit is contained in:
Laurens Voerman 2019-05-13 17:02:53 +02:00
parent fd014e3b52
commit 2f71c55da9

View File

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