fix the whitespaces
parent
1450b5b29c
commit
a77a18693d
|
@ -151,7 +151,8 @@ void LimitBoneWeightsProcess::ProcessMesh(aiMesh* pMesh)
|
||||||
}
|
}
|
||||||
|
|
||||||
// clear weight count for all bone
|
// clear weight count for all bone
|
||||||
for (unsigned int a = 0; a < pMesh->mNumBones; ++a) {
|
for (unsigned int a = 0; a < pMesh->mNumBones; ++a)
|
||||||
|
{
|
||||||
pMesh->mBones[a]->mNumWeights = 0;
|
pMesh->mBones[a]->mNumWeights = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,7 +185,6 @@ void LimitBoneWeightsProcess::ProcessMesh(aiMesh* pMesh)
|
||||||
pMesh->mNumBones = writeBone;
|
pMesh->mNumBones = writeBone;
|
||||||
|
|
||||||
if (!DefaultLogger::isNullLogger()) {
|
if (!DefaultLogger::isNullLogger()) {
|
||||||
ASSIMP_LOG_INFO_F("Removed ", removed, " weights. Input bones: ", old_bones, ". Output bones: ",
|
ASSIMP_LOG_INFO_F("Removed ", removed, " weights. Input bones: ", old_bones, ". Output bones: ", pMesh->mNumBones);
|
||||||
pMesh->mNumBones);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue