summaryrefslogtreecommitdiff
path: root/indra/newview/llfetchedgltfmaterial.h
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2024-01-24 13:57:46 -0800
committerCosmic Linden <cosmic@lindenlab.com>2024-01-25 10:32:38 -0800
commit1691a25ce801bfd22cfc89958a07c4f53d3af772 (patch)
treeb5d3de1a681ddf45bfc3da50461dda9993d9af0e /indra/newview/llfetchedgltfmaterial.h
parent97764080b0eaf7b359b7e2332e6c1257ba86a71a (diff)
Fix material preview sometimes not updating when transitioning from blank material to non-blank material
Diffstat (limited to 'indra/newview/llfetchedgltfmaterial.h')
-rw-r--r--indra/newview/llfetchedgltfmaterial.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfetchedgltfmaterial.h b/indra/newview/llfetchedgltfmaterial.h
index 3fa4619d8c..42c835a416 100644
--- a/indra/newview/llfetchedgltfmaterial.h
+++ b/indra/newview/llfetchedgltfmaterial.h
@@ -40,6 +40,8 @@ public:
virtual ~LLFetchedGLTFMaterial();
LLFetchedGLTFMaterial& operator=(const LLFetchedGLTFMaterial& rhs);
+ // LLGLTFMaterial::operator== is defined, but LLFetchedGLTFMaterial::operator== is not.
+ bool operator==(const LLGLTFMaterial& rhs) const = delete;
// If this material is loaded, fire the given function
void onMaterialComplete(std::function<void()> material_complete);