summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2014-12-22 11:14:15 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2014-12-22 11:14:15 -0500
commit553b7ede723ceed310f1dbbfba25f5bf555466e1 (patch)
tree2f34cdb24a98f805f63d2ac9bd8bb25301a77a7b /indra/newview/llvoavatarself.cpp
parentd33bb1fe675a926a434539c3e59c13c35d425fe3 (diff)
Moved AvatarPosFinalOffset to per-account settings file
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rwxr-xr-xindra/newview/llvoavatarself.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index 3d82a6dab6..6e0c9cb68c 100755
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -239,7 +239,8 @@ void LLVOAvatarSelf::initInstance()
return;
}
- mHoverOffset = gSavedSettings.getVector3("AvatarPosFinalOffset");
+ mHoverOffset = gSavedPerAccountSettings.getVector3("AvatarPosFinalOffset");
+ LL_INFOS("Avatar") << avString() << " set hover height from debug setting " << mHoverOffset[2] << LL_ENDL;
//doPeriodically(output_self_av_texture_diagnostics, 30.0);
doPeriodically(update_avatar_rez_metrics, 5.0);
@@ -2734,7 +2735,7 @@ void LLVOAvatarSelf::sendHoverHeight() const
LLSD update = LLSD::emptyMap();
update["hover_height"] = mHoverOffset[2];
- LL_DEBUGS("Avatar") << "sending hover height value " << mHoverOffset[2] << LL_ENDL;
+ LL_DEBUGS("Avatar") << avString() << "sending hover height value " << mHoverOffset[2] << LL_ENDL;
LLHTTPClient::post(url, update, new LLHoverHeightResponder);
}
}