From 05cd005b30e911a74af9126b1ad09ac88b1be0d5 Mon Sep 17 00:00:00 2001 From: Alexei Dobrohotov Date: Fri, 9 Oct 2020 19:37:54 +0300 Subject: [PATCH] Fix NiTriStripsData loading --- components/nif/data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/nif/data.cpp b/components/nif/data.cpp index e76541d5c..91b3beba4 100644 --- a/components/nif/data.cpp +++ b/components/nif/data.cpp @@ -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)