diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-06-13 08:23:40 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-06-13 08:23:40 -0700 |
commit | 98d2a434dba0423b7bafe486e4050cb715a3c089 (patch) | |
tree | 8aa70d99cf151b801ed644e70662123f205bdf1f /indra/newview/llpanelface.cpp | |
parent | ac018153cb21e4bf37ed8d8003fbf36e44883d09 (diff) |
NORSPEC-263 replaced dropped deg to rad conversion between UI and material update
Diffstat (limited to 'indra/newview/llpanelface.cpp')
-rwxr-xr-x | indra/newview/llpanelface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index b6bd6e5f47..f4226c0a7f 100755 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -1941,7 +1941,7 @@ void LLPanelFace::onCommitMaterialBumpyRot(LLUICtrl* ctrl, void* userdata) { LLPanelFace* self = (LLPanelFace*) userdata; llassert_always(self); - LLSelectedTEMaterial::setNormalRotation(self,self->getCurrentBumpyRot()); + LLSelectedTEMaterial::setNormalRotation(self,self->getCurrentBumpyRot() * DEG_TO_RAD); } //static @@ -1949,7 +1949,7 @@ void LLPanelFace::onCommitMaterialShinyRot(LLUICtrl* ctrl, void* userdata) { LLPanelFace* self = (LLPanelFace*) userdata; llassert_always(self); - LLSelectedTEMaterial::setSpecularRotation(self,self->getCurrentShinyRot()); + LLSelectedTEMaterial::setSpecularRotation(self,self->getCurrentShinyRot() * DEG_TO_RAD); } //static |