summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2012-09-28 10:14:07 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2012-09-28 10:14:07 -0400
commit5c101330caf7eb4ee145c8b2f2921ff6b3a870ee (patch)
tree884939b79c8147c5b950f68b38bdcedf9a5a58e0 /indra/newview/llagent.cpp
parentf9a5cdba507096d16d834fe58c850b9f55ad9462 (diff)
parentec3f8f4a67bb1a47e634d05ba29ddc6c7bed38b8 (diff)
merge
Diffstat (limited to 'indra/newview/llagent.cpp')
-rwxr-xr-xindra/newview/llagent.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp
index bb9f8eaa26..709d29e884 100755
--- a/indra/newview/llagent.cpp
+++ b/indra/newview/llagent.cpp
@@ -4260,9 +4260,6 @@ void LLAgent::requestLeaveGodMode()
//-----------------------------------------------------------------------------
void LLAgent::sendAgentSetAppearance()
{
- // FIXME DRANO - this return short-circuits a bunch of phase stat tracking below.
- if (!isAgentAvatarValid() || (getRegion() && getRegion()->getCentralBakeVersion())) return;
-
// FIXME DRANO - problems around new-style appearance in an old-style region.
// - does this get called?
// - need to change mUseServerBakes->FALSE in that case
@@ -4282,6 +4279,9 @@ void LLAgent::sendAgentSetAppearance()
}
gAgentAvatarp->sendAppearanceChangeMetrics();
+
+ if (!isAgentAvatarValid() || (getRegion() && getRegion()->getCentralBakeVersion())) return;
+
LL_INFOS("Avatar") << gAgentAvatarp->avString() << "TAT: Sent AgentSetAppearance: " << gAgentAvatarp->getBakedStatusForPrintout() << LL_ENDL;
//dumpAvatarTEs( "sendAgentSetAppearance()" );
@@ -4327,9 +4327,10 @@ void LLAgent::sendAgentSetAppearance()
}
// only update cache entries if we have all our baked textures
- // FIXME DRANO additional if check for not in appearance editing
+
+ // FIXME DRANO need additional check for not in appearance editing
// mode, if still using local composites need to set using local
- // composites to false, update mesh textures.
+ // composites to false, and update mesh textures.
if (textures_current)
{
LL_INFOS("Avatar") << gAgentAvatarp->avString() << "TAT: Sending cached texture data" << LL_ENDL;