Always read 3 lods
This commit is contained in:
parent
071aed6596
commit
98793efa70
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ Model parseMDL(MemorySpan data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<MeshLod> lods;
|
std::vector<MeshLod> lods;
|
||||||
data.read_structures(&lods, modelHeader.lodCount);
|
data.read_structures(&lods, 3);
|
||||||
|
|
||||||
std::vector<Mesh> meshes(modelHeader.meshCount);
|
std::vector<Mesh> meshes(modelHeader.meshCount);
|
||||||
for(int i = 0; i < modelHeader.meshCount; i++) {
|
for(int i = 0; i < modelHeader.meshCount; i++) {
|
||||||
|
|
Reference in a new issue