From e02d51ec241988e185f58244e277ae8ce0dbd471 Mon Sep 17 00:00:00 2001 From: jaefunk Date: Fri, 11 Mar 2022 10:51:13 +0900 Subject: [PATCH] add ifndef guard for resolve to fails to compile --- code/PostProcessing/ArmaturePopulate.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/PostProcessing/ArmaturePopulate.cpp b/code/PostProcessing/ArmaturePopulate.cpp index 3fc1e12bc..44f1e2e14 100644 --- a/code/PostProcessing/ArmaturePopulate.cpp +++ b/code/PostProcessing/ArmaturePopulate.cpp @@ -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 } }