diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp
index d873cab59a0b35d6616020bc709751fdf4092798..7ab9b4cb38f507e15429a13fff31eaf0ea5bbccc 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();