diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-01-23 19:17:46 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-01-23 20:36:54 +0200 |
commit | a3f43b4b73cc8fbd48a0574ebd74bbe660f8af50 (patch) | |
tree | cb37d733ecbe763895a5c81191befc2a85b240ba /indra/newview/llpanelface.cpp | |
parent | 8bad6ccde406566cd6859db69c45c06eb6001386 (diff) |
SL-19014 Sanitize the override data sent for faces without GLTF materials
Diffstat (limited to 'indra/newview/llpanelface.cpp')
-rw-r--r-- | indra/newview/llpanelface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index cf02f3c4e4..cb09ec9fbf 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -152,7 +152,7 @@ void LLPanelFace::updateSelectedGLTFMaterials(std::function<void(LLGLTFMaterial* new_override = *tep->getGLTFMaterialOverride(); } mFunc(&new_override); - LLGLTFMaterialList::queueModify(object->getID(), face, &new_override); + LLGLTFMaterialList::queueModify(object, face, &new_override); return true; } |