summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llgltfmaterial.h
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2022-08-09 01:16:41 -0700
committerPtolemy <ptolemy@lindenlab.com>2022-08-09 01:16:41 -0700
commit0e929fea4cd98595408629388d3a8da846729701 (patch)
treeffe7eefb876d77454570835c7023cb1aa6abda65 /indra/llprimitive/llgltfmaterial.h
parentf9615f7cffc3c9b2e9c8c4031cc81a3f6eb07afb (diff)
parente73fd2a2f28a01c1ab1e0dee63ba4d2ca73c9634 (diff)
Merge branch 'DRTVWR-559' of bitbucket.org:lindenlab/viewer into DRTVWR-559
Diffstat (limited to 'indra/llprimitive/llgltfmaterial.h')
-rw-r--r--indra/llprimitive/llgltfmaterial.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llprimitive/llgltfmaterial.h b/indra/llprimitive/llgltfmaterial.h
index a8d5fb8e85..ab381ca55e 100644
--- a/indra/llprimitive/llgltfmaterial.h
+++ b/indra/llprimitive/llgltfmaterial.h
@@ -61,8 +61,10 @@ public:
// get a UUID based on a hash of this LLGLTFMaterial
LLUUID getHash() const
{
+ LL_PROFILE_ZONE_SCOPED_CATEGORY_TEXTURE;
LLMD5 md5;
md5.update((unsigned char*) this, sizeof(this));
+ md5.finalize();
LLUUID id;
md5.raw_digest(id.mData);
return id;