mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 16:18:05 +02:00
Fix crash
This commit is contained in:
parent
e9ce467eb9
commit
7d37a064f2
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ const TriangleListMesh generateTriangleListMesh(const std::vector<glm::vec3>& sr
|
||||||
dest.indices[i] = qti; //remap[qti];
|
dest.indices[i] = qti; //remap[qti];
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
for (const auto& ti : part.quadTrianglesIndices) {
|
for (const auto& ti : part.triangleIndices) {
|
||||||
dest.indices[i] = ti; //remap[ti];
|
dest.indices[i] = ti; //remap[ti];
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue