diff options
author | Richard Linden <none@none> | 2010-07-27 14:22:14 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-07-27 14:22:14 -0700 |
commit | 15247f086989a43881d79c1ee5416bb00721eb68 (patch) | |
tree | e77d629f6d03ed7ca471e77ccefcd9437be82c49 /indra/newview/llagent.cpp | |
parent | 5d85dad85f07ea23b3a2892276d8ac591a966864 (diff) |
Backed out changeset: 58571b4e704b
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r-- | indra/newview/llagent.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 4e5fdb1219..72d51540ef 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -3406,6 +3406,9 @@ void LLAgent::setTeleportState(ETeleportState state) } else if(mTeleportState == TELEPORT_ARRIVING) { + // First two position updates after a teleport tend to be weird + LLViewerStats::getInstance()->mAgentPositionSnaps.mCountOfNextUpdatesToIgnore = 2; + // Let the interested parties know we've teleported. LLViewerParcelMgr::getInstance()->onTeleportFinished(false, getPositionGlobal()); } |