summaryrefslogtreecommitdiff
path: root/indra/newview/gltf/llgltfloader.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-10-06 17:16:49 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-10-06 18:32:19 +0300
commitd9db7bb645c936ff5d18feb3f6a07113bf8a9db2 (patch)
treeaec00cd16d52b78b43bb7c71e3a7a1985a4d38b5 /indra/newview/gltf/llgltfloader.h
parent9c28607a7c787b8ee623da76ef3a4861d612316e (diff)
p#480 Collada vs GLTF Mesh Import Naming Convention
Both collada and gltf have a node and a mesh. Collada uses node-name, gltf was using mesh-name. GLTF format permits reusing single mesh for multiple nodes, but nodes are warrantied to not be reused. Switch to using node-names for better dupplicate avoidance and to be more in line with collada.
Diffstat (limited to 'indra/newview/gltf/llgltfloader.h')
-rw-r--r--indra/newview/gltf/llgltfloader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/gltf/llgltfloader.h b/indra/newview/gltf/llgltfloader.h
index e8b91996c7..7aa1a94c20 100644
--- a/indra/newview/gltf/llgltfloader.h
+++ b/indra/newview/gltf/llgltfloader.h
@@ -170,7 +170,7 @@ private:
void notifyUnsupportedExtension(bool unsupported);
static size_t getSuffixPosition(const std::string& label);
- static std::string getLodlessLabel(const LL::GLTF::Mesh& mesh);
+ static std::string getLodlessLabel(const LL::GLTF::Node& mesh);
// bool mPreprocessGLTF;