mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 16:44:04 +02:00
please
This commit is contained in:
parent
2421f9388c
commit
39c828fad8
1 changed files with 2 additions and 2 deletions
|
@ -209,7 +209,7 @@ ModelMeshPartPayload::ModelMeshPartPayload(ModelPointer model, int meshIndex, in
|
|||
bool useDualQuaternionSkinning = model->getUseDualQuaternionSkinning();
|
||||
|
||||
auto& modelMesh = model->getGeometry()->getMeshes().at(_meshIndex);
|
||||
_meshNumVertices = modelMesh->getNumVertices();
|
||||
_meshNumVertices = (int)modelMesh->getNumVertices();
|
||||
const Model::MeshState& state = model->getMeshState(_meshIndex);
|
||||
|
||||
updateMeshPart(modelMesh, partIndex);
|
||||
|
@ -483,4 +483,4 @@ void ModelMeshPartPayload::setBlendshapeBuffer(const std::unordered_map<int, gpu
|
|||
_meshBlendshapeBuffer = blendshapeBuffer->second;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue