ReSit added, channel in dialog messaged added, local teleports have no delay after teleporting, message log crash fixed, hopefully...

This commit is contained in:
phr0z3nt04st
2010-05-24 09:41:16 -05:00
parent 1350365769
commit 2e5dee57b4
8 changed files with 82 additions and 16 deletions

View File

@@ -384,6 +384,9 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
gAgent.setTeleportMessage(
LLAgent::sTeleportProgressMessages["arriving"]);
gImageList.mForceResetTextureStats = TRUE;
// <edit>
if(gAgent.getFocusOnAvatar())
// </edit>
gAgent.resetView(TRUE, TRUE);
break;
@@ -407,7 +410,10 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
// Short delay when teleporting in the same sim (progress screen active but not shown - did not
// fall-through from TELEPORT_START)
{
if( gTeleportDisplayTimer.getElapsedTimeF32() > TELEPORT_LOCAL_DELAY )
// <edit>
// is this really needed.... I say no.
//if( gTeleportDisplayTimer.getElapsedTimeF32() > TELEPORT_LOCAL_DELAY )
// </edit>
{
LLFirstUse::useTeleport();
gAgent.setTeleportState( LLAgent::TELEPORT_NONE );