diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-03-03 10:35:31 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-03-03 10:35:31 +0000 |
commit | 4a943e234d86553b3d7d7c932ce91d1209c8e54e (patch) | |
tree | 994928f81c802c593543a3baa706c6eac1806d35 /indra/newview | |
parent | 383cb255e0ff619fa4ee3fc0b1dc6a37643d3bc1 (diff) |
some instrumentation - back this out when done.
--HG--
branch : EXT-3351
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llviewermessage.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index f9f778449b..825ec4005d 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -3192,6 +3192,9 @@ const F32 MAX_HEAD_ROT_QDOT = 0.99999f; // ~= 0.5 degrees -- if its greater th void send_agent_update(BOOL force_send, BOOL send_reliable) { + bool is_flying = gAgent.getFlying(); + llinfos << "agent flying = " << int(is_flying) << llendl; + if (gAgent.getTeleportState() != LLAgent::TELEPORT_NONE) { // We don't care if they want to send an agent update, they're not allowed to until the simulator @@ -3952,6 +3955,43 @@ void process_avatar_animation(LLMessageSystem *mesgsys, void **user_data) gAgent.setFlying(FALSE); } + if (animation_id == ANIM_AGENT_STANDUP) + { + llwarns << "ANIM_AGENT_STANDUP" << llendl; + } + if (animation_id == ANIM_AGENT_SIT) + { + llwarns << "ANIM_AGENT_SIT" << llendl; + } + if (animation_id == ANIM_AGENT_STAND) + { + llwarns << "ANIM_AGENT_STAND" << llendl; + } + if (animation_id == ANIM_AGENT_HOVER) + { + llwarns << "ANIM_AGENT_HOVER" << llendl; + } + if (animation_id == ANIM_AGENT_SIT_TO_STAND) + { + llwarns << "ANIM_AGENT_SIT_TO_STAND" << llendl; + } + if (animation_id == ANIM_AGENT_SIT_FEMALE) + { + llwarns << "ANIM_AGENT_SIT_FEMALE" << llendl; + } + if (animation_id == ANIM_AGENT_SIT_GENERIC) + { + llwarns << "ANIM_AGENT_SIT_GENERIC" << llendl; + } + if (animation_id == ANIM_AGENT_SIT_GROUND) + { + llwarns << "ANIM_AGENT_SIT_GROUND" << llendl; + } + if (animation_id == ANIM_AGENT_SIT_GROUND_CONSTRAINED) + { + llwarns << "ANIM_AGENT_SIT_GROUND_CONSTRAINED" << llendl; + } + if (i < num_source_blocks) { mesgsys->getUUIDFast(_PREHASH_AnimationSourceList, _PREHASH_ObjectID, object_id, i); |