diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2024-01-25 16:05:55 -0800 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2024-01-25 16:05:55 -0800 |
commit | 18669f3be7d61815203eddbfb866d551aba9bc69 (patch) | |
tree | 7cab4bcc0ecc15ae9bd7fc619be308cee2c665c0 /indra | |
parent | 8a1e2f98cbbc242d2721deaa92ed34c3f3fcf788 (diff) |
Don't refetch textures for LLFetchedGLTFMaterial if present
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llgltfmaterialpreviewmgr.cpp | 2 |
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)) { |