Merge pull request #4437 from jaefunk/issue_4349

add ifndef guard for resolve to fails to compile
pull/4444/head^2
Kim Kulling 2022-03-15 14:28:43 +01:00 committed by GitHub
commit bcee205542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -90,12 +90,14 @@ void ArmaturePopulate::Execute(aiScene *out) {
ai_assert(armature);
#ifndef ASSIMP_BUILD_NO_ARMATUREPOPULATE_PROCESS
// set up bone armature id
bone->mArmature = armature;
// set this bone node to be referenced properly
ai_assert(bone_node);
bone->mNode = bone_node;
#endif
}
}