mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 20:26:55 +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();
|
const auto& reweightedDeformers = input.get4();
|
||||||
auto& shapeVerticesPerJoint = output;
|
auto& shapeVerticesPerJoint = output;
|
||||||
|
|
||||||
shapeVerticesPerJoint.reserve(joints.size());
|
shapeVerticesPerJoint.resize(joints.size());
|
||||||
std::vector<std::vector<VertexSource>> vertexSourcesPerJoint;
|
std::vector<std::vector<VertexSource>> vertexSourcesPerJoint;
|
||||||
vertexSourcesPerJoint.resize(joints.size());
|
vertexSourcesPerJoint.resize(joints.size());
|
||||||
for (size_t i = 0; i < shapes.size(); ++i) {
|
for (size_t i = 0; i < shapes.size(); ++i) {
|
||||||
|
|
Loading…
Reference in a new issue