summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-10-13 00:01:23 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-10-13 00:01:23 +0300
commitbaf1f0f14de82549e999db0e628a284401fe4086 (patch)
tree3375a6198b0db5bf4765d115b75f6599a4fbecaa /indra/newview
parent17f421fb2eeda7b9038d8ca6ad3aba521363c229 (diff)
SL-18346 Fix a typo
Diffstat (limited to 'indra/newview')
-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 ba9f02bc48..aaee64485a 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -125,12 +125,12 @@ LLRender::eTexIndex LLPanelFace::getTextureChannelToEdit()
if (mComboMatMedia)
{
U32 matmedia_selection = mComboMatMedia->getCurrentIndex();
- if (matmedia_selection = MATMEDIA_MATERIAL)
+ if (matmedia_selection == MATMEDIA_MATERIAL)
{
LLRadioGroup* radio_mat_type = getChild<LLRadioGroup>("radio_material_type");
channel_to_edit = (LLRender::eTexIndex)radio_mat_type->getSelectedIndex();
}
- if (matmedia_selection = MATMEDIA_PBR)
+ if (matmedia_selection == MATMEDIA_PBR)
{
LLRadioGroup* radio_mat_type = getChild<LLRadioGroup>("radio_pbr_type");
channel_to_edit = (LLRender::eTexIndex)radio_mat_type->getSelectedIndex();