From da6a4ac62ec5b2725bbca647c5d04f2e51967c42 Mon Sep 17 00:00:00 2001 From: Graham Madarasz Date: Fri, 31 May 2013 15:55:56 -0700 Subject: Revert NORSPEC-214 fix causing knock-on in spec exp controls --- indra/newview/llpanelface.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'indra') diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index 2691b4fd5d..dcedbba81b 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("shinytexture control"); - if (texture_ctrl) - texture_ctrl->clear(); - - texture_ctrl = self->getChild("bumpytexture control"); - if (texture_ctrl) - texture_ctrl->clear(); - - self->updateShinyControls(false,true); - self->updateBumpyControls(false,true); self->updateUI(); } -- cgit v1.2.3