parent
bce7237e20
commit
1b4397c76d
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -240,10 +240,8 @@ namespace SHADE
|
||||||
file.read(bone.name.data(), info.charCount);
|
file.read(bone.name.data(), info.charCount);
|
||||||
file.read(reinterpret_cast<char*>(&bone.offset), sizeof(SHMatrix));
|
file.read(reinterpret_cast<char*>(&bone.offset), sizeof(SHMatrix));
|
||||||
|
|
||||||
uint32_t weightCount;
|
bone.weights.resize(info.weightCount);
|
||||||
file.read(reinterpret_cast<char*>(&weightCount), sizeof(uint32_t));
|
file.read(reinterpret_cast<char*>(bone.weights.data()), sizeof(BoneWeight) * info.weightCount);
|
||||||
bone.weights.resize(weightCount);
|
|
||||||
file.read(reinterpret_cast<char*>(bone.weights.data()), sizeof(BoneWeight) * weightCount);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
data.VertexBoneIndices.resize(header.vertexCount);
|
data.VertexBoneIndices.resize(header.vertexCount);
|
||||||
|
|
Loading…
Reference in New Issue