From 132db13fb6bb6dd802d3ee000a10e91127403547 Mon Sep 17 00:00:00 2001 From: Tonya Souther Date: Thu, 31 Jan 2013 14:49:11 -0600 Subject: Fixing VC++ compile error: calling a static routine doesn't need the "this" pointer --- indra/newview/llpanelface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index 4f61d5bbb6..474fa9d58e 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -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(); } -- cgit v1.2.3