Skip to content

Commit

Permalink
Merge pull request #641 from 3drepo/ISSUE_637
Browse files Browse the repository at this point in the history
ISSUE #637 add UVs
  • Loading branch information
carmenfan authored Sep 5, 2023
2 parents 959cfba + d76f60b commit 5739a06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ std::unordered_map<std::string, repo::core::model::MeshNode> SynchroModelImport:
for (const auto uv : meshDetails.uv) {
uvs.push_back({ (float)uv.x, (float)uv.y });
}
res[meshDetails.geoID] = repo::core::model::RepoBSONFactory::makeMeshNode(vertices, faces, normals, bbox);
res[meshDetails.geoID] = repo::core::model::RepoBSONFactory::makeMeshNode(vertices, faces, normals, bbox, { uvs });
}

return res;
Expand Down

0 comments on commit 5739a06

Please sign in to comment.