From 4a943e234d86553b3d7d7c932ce91d1209c8e54e Mon Sep 17 00:00:00 2001 From: Tofu Linden <tofu.linden@lindenlab.com> Date: Wed, 3 Mar 2010 10:35:31 +0000 Subject: some instrumentation - back this out when done. --HG-- branch : EXT-3351 --- indra/newview/llviewermessage.cpp | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'indra/newview') 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); -- cgit v1.2.3