summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelface.cpp')
-rwxr-xr-xindra/newview/llpanelface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index d873cab59a..7ab9b4cb38 100755
--- a/indra/newview/llpanelface.cpp
+++ b/indra/newview/llpanelface.cpp
@@ -1513,8 +1513,8 @@ void LLPanelFace::onSelectColor(const LLSD& data)
void LLPanelFace::onCommitMaterialsMedia(LLUICtrl* ctrl, void* userdata)
{
LLPanelFace* self = (LLPanelFace*) userdata;
- LLUUID specmap = getCurrentSpecularMap();
- LLUUID normmap = getCurrentNormalMap();
+ LLUUID specmap = self->getCurrentSpecularMap();
+ LLUUID normmap = self->getCurrentNormalMap();
self->updateShinyControls(!specmap.isNull(), true);
self->updateBumpyControls(!normmap.isNull(), true);
self->updateUI();