From 4bbd6319c7db61d12a2a14c5f6f4bc6d6b5e0645 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Tue, 10 Jun 2025 14:28:07 +0300 Subject: #4148 Skeleton Translation #2 --- indra/newview/gltf/llgltfloader.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra/newview/gltf/llgltfloader.h') diff --git a/indra/newview/gltf/llgltfloader.h b/indra/newview/gltf/llgltfloader.h index 41e6a2dd6d..50a63c1cd8 100644 --- a/indra/newview/gltf/llgltfloader.h +++ b/indra/newview/gltf/llgltfloader.h @@ -156,6 +156,7 @@ protected: bool mGltfLoaded; bool mMeshesLoaded; bool mMaterialsLoaded; + bool mApplyXYRotation = false; U32 mGeneratedModelLimit; std::vector mMeshes; @@ -190,6 +191,8 @@ private: S32 findParentNode(S32 node) const; glm::mat4 buildGltfRestMatrix(S32 joint_node_index, const LL::GLTF::Skin& gltf_skin) const; glm::mat4 computeGltfToViewerSkeletonTransform(const LL::GLTF::Skin& gltf_skin, S32 joint_index, const std::string& joint_name) const; + bool checkForXYrotation(const LL::GLTF::Skin& gltf_skin, S32 joint_idx, S32 bind_indx); + void checkForXYrotation(const LL::GLTF::Skin& gltf_skin); LLUUID imageBufferToTextureUUID(const gltf_texture& tex); void notifyUnsupportedExtension(bool unsupported); -- cgit v1.3