浏览代码

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