Revert NORSPEC-214 fix causing knock-on in spec exp controls

meow-7.2.2
Graham Madarasz 2013-05-31 15:55:56 -07:00
parent a16d32e82e
commit da6a4ac62e
1 changed files with 0 additions and 11 deletions

View File

@ -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();
}