mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 20:19:57 +00:00
Merge pull request #2908 from Capostrophic/uvsets
Remove 63 UV set limit
This commit is contained in:
commit
0d1b7fd3f0
1 changed files with 2 additions and 3 deletions
|
@ -47,10 +47,9 @@ void NiGeometryData::read(NIFStream *nif)
|
|||
if (nif->getBoolean())
|
||||
nif->getVector4s(colors, verts);
|
||||
|
||||
// Only the first 6 bits are used as a count. I think the rest are
|
||||
// flags of some sort.
|
||||
// In Morrowind this field only corresponds to the number of UV sets.
|
||||
// NifTools research is inaccurate.
|
||||
int uvs = nif->getUShort();
|
||||
uvs &= 0x3f;
|
||||
|
||||
if(nif->getInt())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue