From Mathias Froehlich, build fixes

This commit is contained in:
Robert Osfield
2008-10-07 12:31:42 +00:00
parent 8c98220878
commit ff8c6aa32b
5 changed files with 5 additions and 4 deletions

View File

@@ -204,7 +204,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!=drawable;
litr != rg->_leaves.end() && (*litr)->_drawable.get()!=drawable;
++litr)
{}