Fix loading binary LWO files

This commit is contained in:
Turo Lamminen
2023-02-24 14:34:32 +02:00
parent 3bdc43a216
commit e8f0eb930d
2 changed files with 5 additions and 16 deletions

View File

@@ -178,7 +178,7 @@ void LWOImporter::InternReadFile(const std::string &pFile,
mLayers->push_back(Layer());
mCurLayer = &mLayers->back();
mCurLayer->mName = "<LWODefault>";
mCurLayer->mIndex = (uint16_t) -1;
mCurLayer->mIndex = 1;
// old lightwave file format (prior to v6)
mIsLWO2 = false;