From baf1f0f14de82549e999db0e628a284401fe4086 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev Date: Thu, 13 Oct 2022 00:01:23 +0300 Subject: SL-18346 Fix a typo --- indra/newview/llpanelface.cpp | 4 ++-- 1 file 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("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("radio_pbr_type"); channel_to_edit = (LLRender::eTexIndex)radio_mat_type->getSelectedIndex(); -- cgit v1.2.3