diff options
Diffstat (limited to 'indra/newview')
-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(); |