summaryrefslogtreecommitdiff
path: root/indra/newview/gltf
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2025-06-18 17:18:48 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2025-06-18 18:14:59 +0300
commit5099401a5364ebfe4ec908fc0481ed3568778651 (patch)
treee8b3dd0ca1bede292195885f19aa23d333e6a7b9 /indra/newview/gltf
parent68dc0919b3645724f70ca6e609a3f893cba49a69 (diff)
#4204 Log embedded texture extraction failure
Diffstat (limited to 'indra/newview/gltf')
-rw-r--r--indra/newview/gltf/llgltfloader.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/gltf/llgltfloader.cpp b/indra/newview/gltf/llgltfloader.cpp
index 1f65435728..50ce075d65 100644
--- a/indra/newview/gltf/llgltfloader.cpp
+++ b/indra/newview/gltf/llgltfloader.cpp
@@ -677,6 +677,12 @@ bool LLGLTFLoader::populateModelFromMesh(LLModel* pModel, const LL::GLTF::Mesh&
else
{
LL_WARNS("GLTF_IMPORT") << "Failed to create temporary file for embedded texture" << LL_ENDL;
+
+ LLSD args;
+ args["Message"] = "FailedToCreateTempFile";
+ args["TEXTURE_INDEX"] = sourceIndex;
+ args["TEMP_FILE"] = temp_filename;
+ mWarningsArray.append(args);
}
}
}