summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2025-06-02 19:43:48 +0300
committerGitHub <noreply@github.com>2025-06-02 19:43:48 +0300
commit4ae9b7b24564a5d50360781d2b63f73a6aa2141c (patch)
tree64c4fc1529e6216c5559beacc82c4d6d47200eb4
parent7aea88fb84e6cb5412662dd4de4e7589a6801ba3 (diff)
#4203 show valid log info about 16 bit limit
-rw-r--r--indra/newview/gltf/llgltfloader.cpp2
-rw-r--r--indra/newview/skins/default/xui/en/floater_model_preview.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/gltf/llgltfloader.cpp b/indra/newview/gltf/llgltfloader.cpp
index 5cdd7f09e0..800b986b59 100644
--- a/indra/newview/gltf/llgltfloader.cpp
+++ b/indra/newview/gltf/llgltfloader.cpp
@@ -648,7 +648,7 @@ bool LLGLTFLoader::populateModelFromMesh(LLModel* pModel, const LL::GLTF::Mesh&
else {
LL_INFOS("GLTF_IMPORT") << "Unable to process mesh due to 16-bit index limits" << LL_ENDL;
LLSD args;
- args["Message"] = "ParsingErrorBadElement";
+ args["Message"] = "ErrorIndexLimit";
mWarningsArray.append(args);
return false;
}
diff --git a/indra/newview/skins/default/xui/en/floater_model_preview.xml b/indra/newview/skins/default/xui/en/floater_model_preview.xml
index 6231abf9a5..1c4a857dab 100644
--- a/indra/newview/skins/default/xui/en/floater_model_preview.xml
+++ b/indra/newview/skins/default/xui/en/floater_model_preview.xml
@@ -64,6 +64,7 @@
<string name="InvalidGeometryNonTriangulated">Invalid geometry: GLTF files must contain triangulated meshes only.</string>
<string name="IgnoredExtension">Model uses unsupported extension: [EXT], related material properties are ignored.</string>
<string name="UnsupportedExtension">Unable to load a model, unsupported extension: [EXT]</string>
+ <string name="ErrorIndexLimit">Unable to process mesh due to 16-bit index limits</string>
<panel
follows="top|left"