summaryrefslogtreecommitdiff
path: root/indra/newview/llfetchedgltfmaterial.h
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2023-03-21 13:40:00 -0700
committerBrad Linden <brad@lindenlab.com>2023-03-21 13:43:40 -0700
commit6e6bac6b4025e01ee636b8490edbe09db2497722 (patch)
tree5f69bfecc9d79dc8b6b89fe0213ce7c7c991a477 /indra/newview/llfetchedgltfmaterial.h
parentb30cde2a05c5217018d8be7608f14bda8b66127a (diff)
Phase 2 of fix for SL-18458 material overrides not being cached properly
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 96f7fbea8e..0b51770493 100644
--- a/indra/newview/llfetchedgltfmaterial.h
+++ b/indra/newview/llfetchedgltfmaterial.h
@@ -46,6 +46,8 @@ public:
// media_tex - optional media texture that may override the base color texture
void bind(LLViewerTexture* media_tex = nullptr);
+ bool isFetching() const { return mFetching; }
+
// Textures used for fetching/rendering
LLPointer<LLViewerFetchedTexture> mBaseColorTexture;
LLPointer<LLViewerFetchedTexture> mNormalTexture;