Browse Source

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

Alexelnet 5 months ago
parent
commit
e27204c27a
1 changed files with 2 additions and 1 deletions
  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;
         return mAnimations != nullptr && mNumAnimations > 0;
     }
     }
 
 
-    bool hasSkeletons() const {
+    //! Check whether the scene contains skeletons
+    inline bool HasSkeletons() const {
         return mSkeletons != nullptr && mNumSkeletons > 0;
         return mSkeletons != nullptr && mNumSkeletons > 0;
     }
     }