Fixing VC++ compile error: calling a static routine doesn't need the "this" pointer

meow-7.2.2
Tonya Souther 2013-01-31 14:49:11 -06:00
parent c1b110dd1d
commit 132db13fb6
1 changed files with 2 additions and 2 deletions

View File

@ -1573,8 +1573,8 @@ void LLPanelFace::updateAlphaControls(LLUICtrl* ctrl, void* userdata)
// static
void LLPanelFace::onCommitAlphaMode(LLUICtrl* ctrl, void* userdata)
{
LLPanelFace* self = (LLPanelFace*) userdata;
self->updateAlphaControls(ctrl,userdata);
//LLPanelFace* self = (LLPanelFace*) userdata;
updateAlphaControls(ctrl,userdata);
llinfos << "updating material" << llendl;
//self->updateMaterial();
}