summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNyx Linden <nyx@lindenlab.com>2013-05-10 12:58:41 -0400
committerNyx Linden <nyx@lindenlab.com>2013-05-10 12:58:41 -0400
commit5c219f694a97d010332618eff9de7bdbeb5b6ed6 (patch)
tree98ecc603e430b48ad034b1d684d23e2720d2485d /indra
parenta6ad1ba447781f255b5038ee545879dd571321ab (diff)
DEBUG adding additional logging for avatar height
usually disabled, enable avatar in logcontrol.xml to get output.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llagent.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index 883200c0f5..d7ab68ccd1 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -4337,7 +4337,9 @@ void LLAgent::sendAgentSetAppearance()
// to compensate for the COLLISION_TOLERANCE ugliness we will have
// to tweak this number again
const LLVector3 body_size = gAgentAvatarp->mBodySize + gAgentAvatarp->mAvatarOffset;
- msg->addVector3Fast(_PREHASH_Size, body_size);
+ msg->addVector3Fast(_PREHASH_Size, body_size);
+
+ LL_DEBUGS("Avatar") << gAgentAvatarp->avString() << "Sent AgentSetAppearance with height: " << body_size.mv[VZ] << " base: " << gAgentAvatarp->mBodySize.mV[VZ] << " hover: " << gAgentAvatarp->mAvatarOffset.mV[VZ] << LL_ENDL;
// To guard against out of order packets
// Note: always start by sending 1. This resets the server's count. 0 on the server means "uninitialized"