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