summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-12-18 17:23:55 +0200
committermaxim_productengine <mnikolenko@productengine.com>2018-12-18 17:23:55 +0200
commit224c65716377b61c8f7918ca88434ffaa8356bc1 (patch)
tree13af8b7d2a6bf17934df0be9abd522285dcfe51c
parent2b2b6d40847d9d1bcd070a16003834389d954f32 (diff)
SL-10235 FIXED Texture tab is opened with Bumpiness or Shininess instead of Texture as default value
-rw-r--r--indra/newview/llpanelface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index 8d7865c8ba..2232589ec4 100644
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -1384,6 +1384,11 @@ void LLPanelFace::updateUI(bool force_set_values /*false*/)
mColorSwatch->setFallbackImage(LLUI::getUIImage("locked_image.j2c") );
mColorSwatch->setValid(FALSE);
}
+ LLRadioGroup* radio_mat_type = getChild<LLRadioGroup>("radio_material_type");
+ if (radio_mat_type)
+ {
+ radio_mat_type->setSelectedIndex(0);
+ }
getChildView("color trans")->setEnabled(FALSE);
getChildView("rptctrl")->setEnabled(FALSE);
getChildView("tex gen")->setEnabled(FALSE);