1
0
Fork 0

Check if request has already been satisfied

This commit is contained in:
timoore 2007-12-14 22:52:57 +00:00
parent 7cb5fd170a
commit 7ca1a60e91

View file

@ -54,8 +54,9 @@ protected:
_frameStamp(frameStamp) {}
void doRequest(SceneryPager* pager)
{
pager->requestNodeFile(_fileName, _group.get(), _priority,
_frameStamp.get());
if (_group->getNumChildren() == 0)
pager->requestNodeFile(_fileName, _group.get(), _priority,
_frameStamp.get());
}
std::string _fileName;
osg::ref_ptr<osg::Group> _group;