From Sherman Wilcox, added assignment of mipmap levels from source image.
This commit is contained in:
parent
926cffb2ee
commit
47022a1bf0
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user