Added missing return value

This commit is contained in:
Robert Osfield 2007-03-29 10:13:36 +00:00
parent c996c545b7
commit e2e0897a1b

View File

@ -60,6 +60,8 @@ bool Locator::computeLocalBounds(Locator& source, osg::Vec3d& bottomLeft, osg::V
corners.push_back(cornerNDC);
}
if (corners.empty()) return false;
for(Corners::iterator itr = corners.begin();
itr != corners.end();
@ -70,6 +72,8 @@ bool Locator::computeLocalBounds(Locator& source, osg::Vec3d& bottomLeft, osg::V
topRight.x() = osg::maximum( topRight.x(), itr->x());
topRight.y() = osg::maximum( topRight.y(), itr->y());
}
return true;
}
//////////////////////////////////////////////////////////////////////////////