From 2281e4977fbffbd86cf458785c442f1dceaf9729 Mon Sep 17 00:00:00 2001 From: Zi Ree Date: Tue, 12 Dec 2023 04:34:02 +0100 Subject: [PATCH] FIRE-33443 - Bulk upload of gltf/glb materials doesn't work on linux when file path / name contains upper case characters --- indra/newview/lltinygltfhelper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/lltinygltfhelper.cpp b/indra/newview/lltinygltfhelper.cpp index 999be07dba..8990797286 100644 --- a/indra/newview/lltinygltfhelper.cpp +++ b/indra/newview/lltinygltfhelper.cpp @@ -201,11 +201,11 @@ bool LLTinyGLTFHelper::loadModel(const std::string& filename, tinygltf::Model& m bool decode_successful = false; if (std::string::npos == filename_lc.rfind(".gltf")) { // file is binary - decode_successful = loader.LoadBinaryFromFile(&model_in, &error_msg, &warn_msg, filename_lc); + decode_successful = loader.LoadBinaryFromFile(&model_in, &error_msg, &warn_msg, filename); } else { // file is ascii - decode_successful = loader.LoadASCIIFromFile(&model_in, &error_msg, &warn_msg, filename_lc); + decode_successful = loader.LoadASCIIFromFile(&model_in, &error_msg, &warn_msg, filename); } if (!decode_successful)