From 893628971af5155796c0e7a12d569f94f7da5229 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 31 Mar 2016 17:52:29 +0100 Subject: [PATCH] From Sherman Wilcox, added assignment of mipmap levels from source image. --- src/osg/ImageSequence.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/osg/ImageSequence.cpp b/src/osg/ImageSequence.cpp index 7cc51ae97..7b49d54eb 100644 --- a/src/osg/ImageSequence.cpp +++ b/src/osg/ImageSequence.cpp @@ -235,6 +235,8 @@ void ImageSequence::setImageToChild(int pos) const_cast(image->data()), osg::Image::NO_DELETE, image->getPacking()); + + setMipmapLevels(image->getMipmapLevels()); } void ImageSequence::applyLoopingMode()