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:
commit
c1757aadb4
@ -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