diff options
author | cosmic-linden <111533034+cosmic-linden@users.noreply.github.com> | 2023-01-23 10:44:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-23 10:44:18 -0800 |
commit | 51d89480fe8c648bd5bf532e9f0f9788299034c2 (patch) | |
tree | cb37d733ecbe763895a5c81191befc2a85b240ba /indra/newview/llpanelface.cpp | |
parent | 8bad6ccde406566cd6859db69c45c06eb6001386 (diff) | |
parent | a3f43b4b73cc8fbd48a0574ebd74bbe660f8af50 (diff) |
Merge pull request #55 from secondlife/andreyk/SL-19014
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; } |