summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2024-01-25 16:05:55 -0800
committerCosmic Linden <cosmic@lindenlab.com>2024-01-25 16:05:55 -0800
commit18669f3be7d61815203eddbfb866d551aba9bc69 (patch)
tree7cab4bcc0ecc15ae9bd7fc619be308cee2c665c0 /indra
parent8a1e2f98cbbc242d2721deaa92ed34c3f3fcf788 (diff)
Don't refetch textures for LLFetchedGLTFMaterial if present
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llgltfmaterialpreviewmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llgltfmaterialpreviewmgr.cpp b/indra/newview/llgltfmaterialpreviewmgr.cpp
index 09a2954710..53d9d7d0ba 100644
--- a/indra/newview/llgltfmaterialpreviewmgr.cpp
+++ b/indra/newview/llgltfmaterialpreviewmgr.cpp
@@ -96,7 +96,7 @@ namespace
{
void fetch_texture_for_ui(LLPointer<LLViewerFetchedTexture>& img, const LLUUID& id)
{
- if (id.notNull())
+ if (!img && id.notNull())
{
if (LLAvatarAppearanceDefines::LLAvatarAppearanceDictionary::isBakedImageId(id))
{