From Sherman Wilcox, added assignment of mipmap levels from source image.

This commit is contained in:
Robert Osfield 2016-03-31 17:52:29 +01:00
parent 926cffb2ee
commit 47022a1bf0

View File

@ -235,6 +235,8 @@ void ImageSequence::setImageToChild(int pos)
const_cast<unsigned char*>(image->data()),
osg::Image::NO_DELETE,
image->getPacking());
setMipmapLevels(image->getMipmapLevels());
}
void ImageSequence::applyLoopingMode()