From 74d990872c8d8f59083b868a7ae8df5e90df62c2 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Thu, 5 Jun 2025 21:07:19 +0300 Subject: #4214 Fix material upload --- indra/newview/gltf/llgltfloader.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/newview/gltf/llgltfloader.h') diff --git a/indra/newview/gltf/llgltfloader.h b/indra/newview/gltf/llgltfloader.h index a3ee8d91df..5b9eb78c63 100644 --- a/indra/newview/gltf/llgltfloader.h +++ b/indra/newview/gltf/llgltfloader.h @@ -181,7 +181,8 @@ private: LLModel* pModel, U32 submodel_limit, const LLMatrix4& transformation, - const LLVolumeParams& volume_params); + const LLVolumeParams& volume_params, + const material_map& mats); S32 findClosestValidJoint(S32 source_joint, const LL::GLTF::Skin& gltf_skin) const; S32 findValidRootJointNode(S32 source_joint_node, const LL::GLTF::Skin& gltf_skin) const; S32 findGLTFRootJointNode(const LL::GLTF::Skin& gltf_skin) const; // if there are multiple roots, gltf stores them under one commor joint -- cgit v1.3