mirror of
https://github.com/lubosz/overte.git
synced 2025-04-17 00:57:44 +02:00
Fix to use correct texcoord2 array.
This commit is contained in:
parent
7987ed14b0
commit
9aadea81b3
1 changed files with 1 additions and 1 deletions
|
@ -1349,7 +1349,7 @@ bool GLTFSerializer::buildGeometry(HFMModel& hfmModel, const hifi::VariantHash&
|
|||
}
|
||||
}
|
||||
|
||||
if (texcoords.size() == partVerticesCount * texCoord2Stride) {
|
||||
if (texcoords2.size() == partVerticesCount * texCoord2Stride) {
|
||||
for (int n = 0; n < texcoords2.size(); n = n + 2) {
|
||||
mesh.texCoords1.push_back(glm::vec2(texcoords2[n], texcoords2[n + 1]));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue