FIRE-7273: (Possible) fix for avatar typing after using teleport home chat command: Always stop typing after a TP

Ansariel 2012-08-21 15:06:46 +02:00
parent 46d25d1198
commit 60a51fb071
1 changed files with 6 additions and 0 deletions

View File

@ -4443,6 +4443,9 @@ void process_teleport_finish(LLMessageSystem* msg, void**)
}
// </FS:Ansariel>
// <FS:Ansariel> Stop typing after teleport (possible fix for FIRE-7273)
gAgent.stopTyping();
// Now do teleport effect for where you're going.
// VEFFECT: TeleportEnd
effectp = (LLHUDEffectSpiral *)LLHUDManager::getInstance()->createViewerEffect(LLHUDObject::LL_HUD_EFFECT_POINT, TRUE);
@ -7359,6 +7362,9 @@ void process_teleport_local(LLMessageSystem *msg,void**)
gAgent.setFlying(FALSE);
}
// <FS:Ansariel> Stop typing after teleport (possible fix for FIRE-7273)
gAgent.stopTyping();
gAgent.setPositionAgent(pos);
gAgentCamera.slamLookAt(look_at);