Branding changes, Disable Login/Teleport screen support.
This commit is contained in:
@@ -356,7 +356,7 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
|
||||
// Transition to REQUESTED. Viewer has sent some kind
|
||||
// of TeleportRequest to the source simulator
|
||||
gTeleportDisplayTimer.reset();
|
||||
gViewerWindow->setShowProgress(TRUE);
|
||||
if(!gSavedSettings.getBOOL("AscentDisableTeleportScreens"))gViewerWindow->setShowProgress(TRUE);
|
||||
gViewerWindow->setProgressPercent(0);
|
||||
gAgent.setTeleportState( LLAgent::TELEPORT_REQUESTED );
|
||||
gAgent.setTeleportMessage(
|
||||
@@ -384,17 +384,14 @@ 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);
|
||||
if(!gSavedSettings.getBOOL("AscentDisableTeleportScreens"))gAgent.resetView(TRUE, TRUE);
|
||||
break;
|
||||
|
||||
case LLAgent::TELEPORT_ARRIVING:
|
||||
// Make the user wait while content "pre-caches"
|
||||
{
|
||||
F32 arrival_fraction = (gTeleportArrivalTimer.getElapsedTimeF32() / TELEPORT_ARRIVAL_DELAY);
|
||||
if( arrival_fraction > 1.f )
|
||||
if( arrival_fraction > 1.f || gSavedSettings.getBOOL("AscentDisableTeleportScreens"))
|
||||
{
|
||||
arrival_fraction = 1.f;
|
||||
LLFirstUse::useTeleport();
|
||||
|
||||
Reference in New Issue
Block a user