summaryrefslogtreecommitdiff
path: root/indra/newview/llmaterialeditor.cpp
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2022-11-29 15:20:44 -0800
committerCosmic Linden <cosmic@lindenlab.com>2022-11-29 15:20:44 -0800
commitbfcb07270ed7036c87a4ece7fa1f5416123fff85 (patch)
tree7209d59f44d8d973a99c808c153c0776a224907d /indra/newview/llmaterialeditor.cpp
parentcf86c23dfe1fd732cd939b7fd48fdc7b88bdce1c (diff)
SL-18732: Review feedback
Diffstat (limited to 'indra/newview/llmaterialeditor.cpp')
-rw-r--r--indra/newview/llmaterialeditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmaterialeditor.cpp b/indra/newview/llmaterialeditor.cpp
index f1fd276402..8c8a07bc21 100644
--- a/indra/newview/llmaterialeditor.cpp
+++ b/indra/newview/llmaterialeditor.cpp
@@ -400,7 +400,7 @@ BOOL LLMaterialEditor::postBuild()
if (mIsOverride)
{
// Material override change success callback
- LLGLTFMaterialList::addUpdateCallback(&LLMaterialEditor::updateLive);
+ LLGLTFMaterialList::addSelectionUpdateCallback(&LLMaterialEditor::updateLive);
// Live editing needs a recovery mechanism on cancel
mBaseColorTextureCtrl->setOnCancelCallback(boost::bind(&LLMaterialEditor::onCancelCtrl, this, _1, _2, MATERIAL_BASE_COLOR_TEX_DIRTY));