summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelface.cpp')
-rw-r--r--indra/newview/llpanelface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index fd8bf044f8..457ff525c5 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -4593,8 +4593,8 @@ void LLPanelFace::onPbrStartEditing() {
LL_DEBUGS() << "loading material live editor with asset " << material_id << LL_ENDL;
- LLGLTFMaterial* material = gGLTFMaterialList.getMaterial(material_id);
- editor->setTitle("Editing material on selection"s);
+ LLPointer<LLGLTFMaterial> material = gGLTFMaterialList.getMaterial(material_id);
+ editor->setTitle(editor->getString("material_override_title"));
editor->setAssetId(material_id);
editor->setFromGLTFMaterial(material);
}