Browse Source

Merge pull request #4437 from jaefunk/issue_4349

add ifndef guard for resolve to fails to compile
Kim Kulling 3 năm trước cách đây
mục cha
commit
bcee205542
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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
     }
 }