From a338e8c56102b9cfb1b1213268b81ed6c64a6c00 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Thu, 24 Sep 2020 17:13:09 +0100 Subject: [PATCH] Actually set the uvSet value This got lost when uvSet was made into a local variable. --- components/nifosg/nifloader.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/nifosg/nifloader.cpp b/components/nifosg/nifloader.cpp index 24184f2c8..f9274cebf 100644 --- a/components/nifosg/nifloader.cpp +++ b/components/nifosg/nifloader.cpp @@ -1507,6 +1507,8 @@ namespace NifOsg texture2d->setWrap(osg::Texture::WRAP_S, wrapS ? osg::Texture::REPEAT : osg::Texture::CLAMP_TO_EDGE); texture2d->setWrap(osg::Texture::WRAP_T, wrapT ? osg::Texture::REPEAT : osg::Texture::CLAMP_TO_EDGE); + + uvSet = tex.uvSet; } else {