diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-01-10 23:01:27 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-01-10 23:01:27 +0200 |
commit | afa6692efa9c744d6043438ba755c6119273b899 (patch) | |
tree | 58f01cfee53fa27bd719dabde3e4a2f3ccbca2ee /indra/newview | |
parent | 6403f1526f91d81095ebe0cb648ba8af8953e2d0 (diff) |
SL-18942 [PBR] LLPanelFace was missing 'transform' updates for some of the faces
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llgltfmateriallist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llgltfmateriallist.cpp b/indra/newview/llgltfmateriallist.cpp index d04a674e91..4aea0fcbcc 100644 --- a/indra/newview/llgltfmateriallist.cpp +++ b/indra/newview/llgltfmateriallist.cpp @@ -297,7 +297,7 @@ public: // object not ready to receive override data, queue for later gGLTFMaterialList.queueOverrideUpdate(object_override.mObjectId, results[i].mSide, results[i].mMaterial); } - else if (obj && obj->getTE(i) && obj->getTE(i)->isSelected()) + else if (obj && obj->getTE(results[i].mSide) && obj->getTE(results[i].mSide)->isSelected()) { doSelectionCallbacks(object_override.mObjectId, results[i].mSide); } @@ -305,7 +305,7 @@ public: else { // unblock material editor - if (obj && obj->getTE(i) && obj->getTE(i)->isSelected()) + if (obj && obj->getTE(results[i].mSide) && obj->getTE(results[i].mSide)->isSelected()) { doSelectionCallbacks(object_override.mObjectId, results[i].mSide); } |