This commit is contained in:
Sam Gondelman 2018-10-10 19:07:49 -07:00 committed by GitHub
parent 2421f9388c
commit 39c828fad8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}
}
}