mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-23 12:37:45 +00:00
Fix assimp API change
This commit is contained in:
parent
635cf15f2c
commit
a6d0728e83
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ void MDLPart::exportModel(const QString &fileName) {
|
|||
mesh->mBones[j]->mName = models[0].model.affected_bone_names[j];
|
||||
mesh->mBones[j]->mNumWeights = mesh->mNumVertices * 4;
|
||||
mesh->mBones[j]->mWeights = new aiVertexWeight[mesh->mBones[j]->mNumWeights];
|
||||
mesh->mBones[j]->mNode = skeleton_node->mChildren[j];
|
||||
// mesh->mBones[j]->mNode = skeleton_node->mChildren[j];
|
||||
|
||||
for(int k = 0; k < mesh->mNumVertices; k++) {
|
||||
for(int z = 0; z < 4; z++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue