diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-07-03 19:45:49 +0300 | 
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-07-04 00:24:30 +0300 | 
| commit | f1701d3373959d023e35d39dabb2aa5ea44a3fb0 (patch) | |
| tree | 095a1bf7bbddda09071f0aa97d193e4f0c1904cc /indra/newview/gltf/llgltfloader.h | |
| parent | 10b787e3e607aa6e909bff97f18929f12e7fcc65 (diff) | |
#4242 Make sure  group array is initialized
MacOS doesn't seem to like missing init.
Diffstat (limited to 'indra/newview/gltf/llgltfloader.h')
| -rw-r--r-- | indra/newview/gltf/llgltfloader.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/indra/newview/gltf/llgltfloader.h b/indra/newview/gltf/llgltfloader.h index e250a76982..7486c72a95 100644 --- a/indra/newview/gltf/llgltfloader.h +++ b/indra/newview/gltf/llgltfloader.h @@ -102,7 +102,7 @@ class LLGLTFLoader : public LLModelLoader  protected:      LL::GLTF::Asset mGLTFAsset;      tinygltf::Model mGltfModel; -    bool            mGltfLoaded; +    bool            mGltfLoaded = false;      bool            mApplyXYRotation = false;      // GLTF isn't aware of viewer's skeleton and uses it's own, @@ -125,7 +125,7 @@ protected:          std::string mGroup;          std::string mParentGroup;      }; -    typedef std::map<std::string, JointGroups> joint_to_group_map_t; +    typedef std::map<std::string, JointGroups, std::less<> > joint_to_group_map_t;      joint_to_group_map_t mJointGroups;      // per skin joint count, needs to be tracked for the sake of limits check. | 
