mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 00:52:27 +02:00
Fix draco errors being added to wrong part of list
This commit is contained in:
parent
65d85138cc
commit
00f7b75f34
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ void BuildDracoMeshTask::run(const baker::BakeContextPointer& context, const Inp
|
|||
bool dracoError;
|
||||
std::unique_ptr<draco::Mesh> dracoMesh;
|
||||
std::tie(dracoMesh, dracoError) = createDracoMesh(mesh, normals, tangents, materialList);
|
||||
dracoErrorsPerMesh[dracoErrorsPerMesh.size()-1] = dracoError;
|
||||
dracoErrorsPerMesh[i] = dracoError;
|
||||
|
||||
if (dracoMesh) {
|
||||
draco::Encoder encoder;
|
||||
|
|
Loading…
Reference in a new issue