2
0
Эх сурвалжийг харах

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

Alexelnet 5 сар өмнө
parent
commit
e27204c27a

+ 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;
     }