diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-11-03 21:07:46 +0200 |
---|---|---|
committer | akleshchev <117672381+akleshchev@users.noreply.github.com> | 2023-11-06 18:29:42 +0200 |
commit | cc089d88ad5ab9088a5036e1d6f301d87cb3b127 (patch) | |
tree | 828f82b8e9fdd41c25a3b755b2bf34706cc27a3a /indra/llprimitive | |
parent | 0d8893822d8975194313e940914afc8945754a21 (diff) |
SL-20523 Ensure override gets updated before render material
Diffstat (limited to 'indra/llprimitive')
-rw-r--r-- | indra/llprimitive/llgltfmaterial.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llprimitive/llgltfmaterial.cpp b/indra/llprimitive/llgltfmaterial.cpp index 390110b0ec..d2c911a189 100644 --- a/indra/llprimitive/llgltfmaterial.cpp +++ b/indra/llprimitive/llgltfmaterial.cpp @@ -794,6 +794,10 @@ bool LLGLTFMaterial::replaceLocalTexture(const LLUUID& tracking_id, const LLUUID mTextureId[i] = new_id; res = true; } + else if (mTextureId[i] == new_id) + { + res = true; + } } if (res) |