summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelface.cpp
diff options
context:
space:
mode:
authorcosmic-linden <111533034+cosmic-linden@users.noreply.github.com>2023-01-23 10:44:18 -0800
committerGitHub <noreply@github.com>2023-01-23 10:44:18 -0800
commit51d89480fe8c648bd5bf532e9f0f9788299034c2 (patch)
treecb37d733ecbe763895a5c81191befc2a85b240ba /indra/newview/llpanelface.cpp
parent8bad6ccde406566cd6859db69c45c06eb6001386 (diff)
parenta3f43b4b73cc8fbd48a0574ebd74bbe660f8af50 (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.cpp2
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;
}