summaryrefslogtreecommitdiff
path: root/indra/newview/llselectmgr.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-01-23 19:17:46 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-01-23 20:36:54 +0200
commita3f43b4b73cc8fbd48a0574ebd74bbe660f8af50 (patch)
treecb37d733ecbe763895a5c81191befc2a85b240ba /indra/newview/llselectmgr.cpp
parent8bad6ccde406566cd6859db69c45c06eb6001386 (diff)
SL-19014 Sanitize the override data sent for faces without GLTF materials
Diffstat (limited to 'indra/newview/llselectmgr.cpp')
-rw-r--r--indra/newview/llselectmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp
index 2b6578c272..1f604f3cba 100644
--- a/indra/newview/llselectmgr.cpp
+++ b/indra/newview/llselectmgr.cpp
@@ -2219,7 +2219,7 @@ void LLSelectMgr::selectionRevertGLTFMaterials()
&& asset_id.notNull())
{
// Restore overrides
- LLGLTFMaterialList::queueModify(objectp->getID(), te, nodep->mSavedGLTFOverrideMaterials[te]);
+ LLGLTFMaterialList::queueModify(objectp, te, nodep->mSavedGLTFOverrideMaterials[te]);
}
else
{