fix compile error if OSGUTIL_RENDERBACKEND_USE_REF_PTR not defined in include/osgUtil/RenderLeaf
This commit is contained in:
parent
fd014e3b52
commit
2f71c55da9
@ -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…
Reference in New Issue
Block a user