Animation WIP merge #321
|
@ -171,6 +171,10 @@ namespace SHADE
|
|||
addJob.VertexBoneIndices, addJob.VertexBoneIndices + addJob.VertexCount * SHMesh::BONE_INDICES_PER_VERTEX
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
vertBoneIdxStorage.resize(vertBoneIdxStorage.size() + addJob.VertexCount * SHMesh::BONE_INDICES_PER_VERTEX);
|
||||
}
|
||||
if (addJob.VertexBoneWeights)
|
||||
{
|
||||
vertBoneWeightStorage.insert
|
||||
|
@ -179,6 +183,10 @@ namespace SHADE
|
|||
addJob.VertexBoneWeights, addJob.VertexBoneWeights + addJob.VertexCount
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
vertBoneWeightStorage.resize(vertBoneWeightStorage.size() + addJob.VertexCount);
|
||||
}
|
||||
indexStorage.insert
|
||||
(
|
||||
indexStorage.end(),
|
||||
|
|
Loading…
Reference in New Issue