STORM-1245 WIP Removed some dead code.

master
Vadim ProductEngine 2011-05-16 17:21:53 +03:00
parent 912f021bb1
commit 683c9ff3f8
1 changed files with 1 additions and 18 deletions

View File

@ -637,19 +637,11 @@ void LLAgent::setRegion(LLViewerRegion *regionp)
bool teleport = (gAgent.getTeleportState() != LLAgent::TELEPORT_NONE);
if (teleport)
{
#if 0
LLEnvManager::getInstance()->notifyTP();
#else
LLEnvManagerNew::instance().onTeleport();
#endif
}
else
{
#if 0
LLEnvManager::getInstance()->notifyCrossing();
#else
LLEnvManagerNew::instance().onRegionCrossing();
#endif
}
}
else
@ -669,11 +661,7 @@ void LLAgent::setRegion(LLViewerRegion *regionp)
LLWorld::getInstance()->updateAgentOffset(mAgentOriginGlobal);
// Notify windlight managers about login
#if 0
LLEnvManager::getInstance()->notifyLogin();
#else
LLEnvManagerNew::instance().onLogin();
#endif
}
// Pass new region along to metrics components that care about this level of detail.
@ -699,12 +687,7 @@ void LLAgent::setRegion(LLViewerRegion *regionp)
LLFloaterMove::sUpdateFlyingStatus();
#if 0
// notify EnvManager that a refresh is needed
LLEnvManager::instance().refreshFromStorage(LLEnvKey::SCOPE_REGION);
#else
LLEnvManagerNew::instance().onTeleport();
#endif
LLEnvManagerNew::instance().onTeleport();
}