Fixed a few remaining bugs. Including all settings.

This commit is contained in:
Shyotl
2019-03-18 00:05:59 -05:00
parent b082bce2b1
commit a224c392e8
4 changed files with 110 additions and 8 deletions

View File

@@ -4015,15 +4015,16 @@ bool LLAgent::teleportCore(bool is_local)
gTeleportDisplay = TRUE;
gAgent.setTeleportState( LLAgent::TELEPORT_START );
/*static const LLCachedControl<bool> hide_tp_screen("AscentDisableTeleportScreens",false);
if(!hide_tp_screen)
static const LLCachedControl<bool> hide_tp_screen("AscentDisableTeleportScreens",false);
static const LLCachedControl<bool> skip_reset_objects_on_teleport("SHSkipResetVBOsOnTeleport", false);
if(!hide_tp_screen && !skip_reset_objects_on_teleport)
{
// AscentDisableTeleportScreens TRUE might be broken..*/
//release geometry from old location
gPipeline.resetVertexBuffers();
LLSpatialPartition::sTeleportRequested = TRUE;
/*}*/
}
if (gSavedSettings.getBOOL("SpeedRez"))
{