Improved handling of PAGE_AND_RETAIN_IMAGES
This commit is contained in:
parent
65d5ef608d
commit
e525dd21bf
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user