diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index 2691b4fd5dbb73ebbd0df7977f9cd6528fc76831..dcedbba81b20025103a0b256d31a0ed1c91b0907 100755 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -2041,17 +2041,6 @@ void LLPanelFace::onCommitMaterialType(LLUICtrl* ctrl, void* userdata) // like the texture ctrls for diffuse/norm/spec so that they are correct // when switching modes // - - LLTextureCtrl* texture_ctrl = self->getChild<LLTextureCtrl>("shinytexture control"); - if (texture_ctrl) - texture_ctrl->clear(); - - texture_ctrl = self->getChild<LLTextureCtrl>("bumpytexture control"); - if (texture_ctrl) - texture_ctrl->clear(); - - self->updateShinyControls(false,true); - self->updateBumpyControls(false,true); self->updateUI(); }