From 79fa48c984cd4e2b0e9627625d9789985b9076fe Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 31 Mar 2016 17:52:29 +0100 Subject: [PATCH] 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 a4540b7b7..57c4a1605 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()