summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-05-31 15:55:56 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-05-31 15:55:56 -0700
commitda6a4ac62ec5b2725bbca647c5d04f2e51967c42 (patch)
tree377f72eab8022a737328a9adf8b7742b37681292
parenta16d32e82edb19b6a3df6516c9726ac5913c1689 (diff)
Revert NORSPEC-214 fix causing knock-on in spec exp controls
-rwxr-xr-xindra/newview/llpanelface.cpp11
1 files changed, 0 insertions, 11 deletions
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<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();
}