From e72075edc6dd2fee0ac7fd6fbd7ba95857aa791b Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy Date: Tue, 24 Feb 2026 19:51:53 +0200 Subject: [PATCH] #5449 Fix GLB textures loading regression --- indra/newview/gltf/llgltfloader.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/indra/newview/gltf/llgltfloader.cpp b/indra/newview/gltf/llgltfloader.cpp index 56583477fb..5a94a2c6c6 100644 --- a/indra/newview/gltf/llgltfloader.cpp +++ b/indra/newview/gltf/llgltfloader.cpp @@ -702,7 +702,12 @@ std::string LLGLTFLoader::processTexture(std::string& full_path_out, S32 texture // Process embedded textures if (image.mBufferView >= 0) { - return extractTextureToTempFile(texture_index, texture_type); + std::string temp_path = extractTextureToTempFile(texture_index, texture_type); + if (!temp_path.empty()) + { + full_path_out = temp_path; + } + return temp_path; } return "";