Fix NiTriStripsData loading

pull/3006/head^2
Alexei Dobrohotov 4 years ago
parent 0dcb8c6b69
commit 05cd005b30

@ -145,7 +145,7 @@ void NiTriStripsData::read(NIFStream *nif)
nif->getUShorts(lengths, numStrips);
// "Has Strips" flag. Exceptionally useful.
bool hasStrips = false;
bool hasStrips = true;
if (nif->getVersion() > NIFFile::NIFVersion::VER_OB_OLD)
hasStrips = nif->getBoolean();
if (!hasStrips || !numStrips)

Loading…
Cancel
Save