Improved handling of PAGE_AND_RETAIN_IMAGES

This commit is contained in:
Robert Osfield 2008-07-25 18:44:13 +00:00
parent 65d5ef608d
commit e525dd21bf

View File

@ -240,7 +240,7 @@ void ImageSequence::update(osg::NodeVisitor* nv)
// osg::notify(osg::NOTICE)<<"time = "<<time<<std::endl;
if (irh)
if (irh && _images.size()<_fileNames.size())
{
double preLoadTime = (time+irh->getPreLoadTime())*_timeMultiplier;