From 558f068e61ec2f7dc954007e4351fae4a83671d8 Mon Sep 17 00:00:00 2001 From: ziree Date: Mon, 24 Feb 2014 01:31:37 +0100 Subject: [PATCH] Fixed specular map offsets getting reset to specular scale values by mistake. --- indra/newview/llpanelface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index efc524101c..3bb32cd256 100755 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -122,8 +122,8 @@ F32 LLPanelFace::getCurrentBumpyOffsetV() { return mCtrlBumpyOffsetV->getValue F32 LLPanelFace::getCurrentShinyRot() { return mCtrlShinyRot->getValue().asReal(); } F32 LLPanelFace::getCurrentShinyScaleU() { return mCtrlShinyScaleU->getValue().asReal(); } F32 LLPanelFace::getCurrentShinyScaleV() { return mCtrlShinyScaleV->getValue().asReal(); } -F32 LLPanelFace::getCurrentShinyOffsetU() { return mCtrlShinyScaleU->getValue().asReal(); } -F32 LLPanelFace::getCurrentShinyOffsetV() { return mCtrlShinyScaleV->getValue().asReal(); } +F32 LLPanelFace::getCurrentShinyOffsetU() { return mCtrlShinyOffsetU->getValue().asReal(); } +F32 LLPanelFace::getCurrentShinyOffsetV() { return mCtrlShinyOffsetV->getValue().asReal(); } // UI provided diffuse parameters F32 LLPanelFace::getCurrentTextureRot() { return mCtrlTexRot->getValue().asReal(); }