From Carlo Camporesi,fixed for loop bug

This commit is contained in:
Robert Osfield 2005-04-04 11:47:50 +00:00
parent 63e665a131
commit 2e32a7cb78

View File

@ -56,7 +56,7 @@ void ProxyNode::traverse(NodeVisitor& nv)
{
if (_filenameList.size()>_children.size() && nv.getVisitorType()==NodeVisitor::CULL_VISITOR)
{
for(unsigned int i=_children.size()-1; i<_filenameList.size(); ++i)
for(unsigned int i=_children.size(); i<_filenameList.size(); ++i)
{
nv.getDatabaseRequestHandler()->requestNodeFile(_databasePath+_filenameList[i], this, 1.0f, nv.getFrameStamp());
}