mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-19 15:09:41 +00:00
Read the correct texture resource for other layers
This commit is contained in:
parent
f6f165852d
commit
512534be11
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,7 @@ static Ogre::String getMaterial(const Nif::NiTriShape *shape, const Ogre::String
|
|||
continue;
|
||||
}
|
||||
|
||||
const Nif::NiSourceTexture *st = texprop->textures[0].texture.getPtr();
|
||||
const Nif::NiSourceTexture *st = texprop->textures[i].texture.getPtr();
|
||||
if(st->external)
|
||||
texName[i] = findTextureName(st->filename);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue