Skip to content
Snippets Groups Projects
Commit da6a4ac6 authored by Graham Madarasz's avatar Graham Madarasz
Browse files

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

parent a16d32e8
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment