소스 검색

Renamed and inlined hasSkeletons() to HasSkeletons() to match the other Has*() methods. (#6072)

Alexelnet 5 달 전
부모
커밋
e27204c27a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      include/assimp/scene.h

+ 2 - 1
include/assimp/scene.h

@@ -421,7 +421,8 @@ struct ASSIMP_API aiScene {
         return mAnimations != nullptr && mNumAnimations > 0;
     }
 
-    bool hasSkeletons() const {
+    //! Check whether the scene contains skeletons
+    inline bool HasSkeletons() const {
         return mSkeletons != nullptr && mNumSkeletons > 0;
     }