mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
Fix not allocating shapeVerticesPerJoint in CollectShapeVerticesTask.cpp
This commit is contained in:
parent
e47078727c
commit
41de373570
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ void CollectShapeVerticesTask::run(const baker::BakeContextPointer& context, con
|
|||
const auto& reweightedDeformers = input.get4();
|
||||
auto& shapeVerticesPerJoint = output;
|
||||
|
||||
shapeVerticesPerJoint.reserve(joints.size());
|
||||
shapeVerticesPerJoint.resize(joints.size());
|
||||
std::vector<std::vector<VertexSource>> vertexSourcesPerJoint;
|
||||
vertexSourcesPerJoint.resize(joints.size());
|
||||
for (size_t i = 0; i < shapes.size(); ++i) {
|
||||
|
|
Loading…
Reference in a new issue