浏览代码

add ifndef guard for resolve to fails to compile

jaefunk 3 年之前
父节点
当前提交
e02d51ec24
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      code/PostProcessing/ArmaturePopulate.cpp

+ 2 - 0
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
     }
 }