MAINT-7811 FIXED The "Use Texture" option appears when it shouldn't be displayed

meow-7.2.2
Mnikolenko Productengine 2017-09-19 11:15:51 +03:00
parent 18483e902c
commit 012ba25d45
1 changed files with 9 additions and 0 deletions

View File

@ -1623,6 +1623,15 @@ void LLPanelFace::updateShinyControls(bool is_setting_texture, bool mess_with_sh
}
}
}
else
{
if (shiny_texture_ID.isNull() && comboShiny && comboShiny->itemExists(USE_TEXTURE))
{
comboShiny->remove(SHINY_TEXTURE);
comboShiny->selectFirstItem();
}
}
LLComboBox* combo_matmedia = getChild<LLComboBox>("combobox matmedia");
LLRadioGroup* radio_mat_type = getChild<LLRadioGroup>("radio_material_type");