diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-10-13 00:01:23 +0300 | 
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-10-13 00:01:23 +0300 | 
| commit | baf1f0f14de82549e999db0e628a284401fe4086 (patch) | |
| tree | 3375a6198b0db5bf4765d115b75f6599a4fbecaa | |
| parent | 17f421fb2eeda7b9038d8ca6ad3aba521363c229 (diff) | |
SL-18346 Fix a typo
| -rw-r--r-- | indra/newview/llpanelface.cpp | 4 | 
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(); | 
