add ifndef guard for resolve to fails to compile
parent
1bf5dd2731
commit
e02d51ec24
|
@ -90,12 +90,14 @@ void ArmaturePopulate::Execute(aiScene *out) {
|
||||||
|
|
||||||
ai_assert(armature);
|
ai_assert(armature);
|
||||||
|
|
||||||
|
#ifndef ASSIMP_BUILD_NO_ARMATUREPOPULATE_PROCESS
|
||||||
// set up bone armature id
|
// set up bone armature id
|
||||||
bone->mArmature = armature;
|
bone->mArmature = armature;
|
||||||
|
|
||||||
// set this bone node to be referenced properly
|
// set this bone node to be referenced properly
|
||||||
ai_assert(bone_node);
|
ai_assert(bone_node);
|
||||||
bone->mNode = bone_node;
|
bone->mNode = bone_node;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue